File tree Expand file tree Collapse file tree
fendermint/actors-custom-car Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ fvm_ipld_encoding = { git = "https://github.com/consensus-shipyard/ref-fvm.git"
251251fvm_ipld_hamt = { git = " https://github.com/consensus-shipyard/ref-fvm.git" }
252252fvm_ipld_amt = { git = " https://github.com/consensus-shipyard/ref-fvm.git" }
253253
254- [profile .wasm ]
254+ [profile .wasm-actor ]
255255inherits = " release"
256256panic = " abort"
257257overflow-checks = false
Original file line number Diff line number Diff line change @@ -223,6 +223,7 @@ fn build_all_wasm_blobs(
223223
224224 let rustup = which:: which ( "rustup" ) ?;
225225
226+ let profile = "wasm-actor" ;
226227 // Cargo build command for all test_actors at once.
227228 let mut cmd = Command :: new ( rustup) ;
228229 cmd. arg ( "run" )
@@ -233,7 +234,8 @@ fn build_all_wasm_blobs(
233234 . args ( package_args)
234235 . arg ( "--target" )
235236 . arg ( target)
236- . arg ( "--profile=wasm" )
237+ . arg ( "--profile" )
238+ . arg ( profile)
237239 . arg ( "--features=fil-actor" )
238240 . arg ( format ! ( "--manifest-path={}" , manifest_path. display( ) ) )
239241 . stdout ( Stdio :: piped ( ) )
@@ -381,8 +383,10 @@ fn main() -> Result<()> {
381383 // `rustc` upgrades in `rust-toolchain.toml`
382384 let out_dir = out_dir. join ( & channel) ;
383385
386+ let profile = "wasm-actor" ;
387+
384388 // the joins represent the subdirectories under which `cargo` creates the actual WASM aritifacts
385- let wasm_blob_dir = out_dir. join ( target) . join ( "wasm" ) ;
389+ let wasm_blob_dir = out_dir. join ( target) . join ( profile ) ;
386390
387391 echo ! (
388392 "actors-custom-car" ,
You can’t perform that action at this time.
0 commit comments