feat(rust): add support for wasm32-unknown-unknown
#138
This check has been archived and is scheduled for deletion.
Learn more about checks retention
Garnix CI / check rust-hello-multibin-package-rust-hello-multibin-debug-wasm32-wasi [x86_64-linux]
succeeded
Jul 19, 2023 in 47s
Run results
Build succeeded
Details
Last 100 lines of logs:
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/dcl6clpg1fijy70ai8szd0bplx7rc6cx-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
Executing configureCargoCommonVars
decompressing cargo artifacts from /nix/store/39in1xp33sk0hjzn2j2r0fw74yvjb8jm-rust-hello-multibin-deps-0.1.0/target.tar.zst to target
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
will append /build/source/.cargo-home/config.toml with contents of /nix/store/j7pwmqc3y10jvpfv20kjkiambvxlriiw-vendor-cargo-deps/config.toml
default configurePhase, nothing to do
@nix { "action": "setPhase", "phase": "buildPhase" }
building
++ command cargo --version
cargo 1.71.0 (cfd3bbd8f 2023-06-08)
++ command cargo build --profile dev -j 4 --message-format json-render-diagnostics
Compiling rust-hello-multibin v0.1.0 (/build/source)
Finished dev [unoptimized + debuginfo] target(s) in 1.39s
@nix { "action": "setPhase", "phase": "checkPhase" }
running tests
++ command cargo test --profile dev -j 4
Compiling rust-hello-multibin v0.1.0 (/build/source)
Finished dev [unoptimized + debuginfo] target(s) in 0.07s
Running unittests src/bin/bye.rs (target/wasm32-wasi/debug/deps/bye-e84aec0d2e09aebe.wasm)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
Running unittests src/bin/hello.rs (target/wasm32-wasi/debug/deps/hello_other_path-e35589bb7388dc6f.wasm)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
@nix { "action": "setPhase", "phase": "installPhase" }
installing
searching for bins/libs to install from cargo build log at cargoBuildLog5aQx.json
installing /build/source/target/wasm32-wasi/debug/hello-other-path.wasm
installing /build/source/target/wasm32-wasi/debug/bye.wasm
searching for bins/libs complete
stripping references to cargoVendorDir from /nix/store/3hnxkg435vv35x019xn68j0ym3lh6zk7-rust-hello-multibin-0.1.0/bin/bye.wasm
real 0m0.847s
user 0m0.014s
sys 0m0.026s
stripping references to cargoVendorDir from /nix/store/3hnxkg435vv35x019xn68j0ym3lh6zk7-rust-hello-multibin-0.1.0/bin/hello-other-path.wasm
real 0m0.428s
user 0m0.007s
sys 0m0.004s
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/3hnxkg435vv35x019xn68j0ym3lh6zk7-rust-hello-multibin-0.1.0
checking for references to /build/ in /nix/store/3hnxkg435vv35x019xn68j0ym3lh6zk7-rust-hello-multibin-0.1.0...
patching script interpreter paths in /nix/store/3hnxkg435vv35x019xn68j0ym3lh6zk7-rust-hello-multibin-0.1.0
stripping (with command strip and flags -S -p) in /nix/store/3hnxkg435vv35x019xn68j0ym3lh6zk7-rust-hello-multibin-0.1.0/bin
Loading