File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -8,23 +8,4 @@ be invoked directly from a custom `build.rs`.
88multiple output formats (WAT, rWASM, ABI, Solidity interface files and metadata).
99Configuration is provided via the ` BuildArgs ` structure.
1010
11- ``` rust
12- use fluentbase_build :: {build_with_args, BuildArgs , Artifact };
13-
14- fn main () {
15- build_with_args (" ./contracts/my_contract" , BuildArgs {
16- docker : true ,
17- generate : vec! [Artifact :: Rwasm , Artifact :: Abi ],
18- .. Default :: default ()
19- });
20- }
21- ```
22-
23- Artifacts are written to the ` out/ ` directory by default. Set the
24- ` FLUENTBASE_SKIP_BUILD ` environment variable if you wish to skip compilation
25- (e.g., when cross compiling from another workspace).
26-
27- See [ ` src/lib.rs ` ] ( src/lib.rs ) for a full list of options and advanced usage
28- notes.
29-
3011This crate is part of the [ Fluentbase] ( https://github.com/fluentlabs-xyz/fluentbase ) project.
You can’t perform that action at this time.
0 commit comments