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-lib-package-rust-lib-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/2lfmv4aysxifbh1vx3zsj1kldqrsjxp4-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
Executing configureCargoCommonVars
decompressing cargo artifacts from /nix/store/m0sx81s6m3q1a1dyfbg04ms13ddr6lwb-rust-lib-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-lib v0.1.0 (/build/source)
Finished dev [unoptimized + debuginfo] target(s) in 14.16s
@nix { "action": "setPhase", "phase": "checkPhase" }
running tests
++ command cargo test --profile dev -j 4
Compiling rust-lib v0.1.0 (/build/source)
Finished dev [unoptimized + debuginfo] target(s) in 0.13s
Running unittests src/lib.rs (target/wasm32-wasi/debug/deps/rust_lib-65796459fddb801e.wasm)
running 1 test
test tests::it_works ... ok
test result: ok. 1 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 cargoBuildLogdz62.json
installing /build/source/target/wasm32-wasi/debug/rust_lib.wasm
installing /build/source/target/wasm32-wasi/debug/librust_lib.a
searching for bins/libs complete
stripping references to cargoVendorDir from /nix/store/p1dd2mq9yln8iq534ds3q8zbwf2a7clr-rust-lib-0.1.0/lib/rust_lib.wasm
real 0m5.487s
user 0m0.011s
sys 0m0.031s
stripping references to cargoVendorDir from /nix/store/p1dd2mq9yln8iq534ds3q8zbwf2a7clr-rust-lib-0.1.0/lib/librust_lib.a
real 0m9.228s
user 0m0.021s
sys 0m0.035s
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/p1dd2mq9yln8iq534ds3q8zbwf2a7clr-rust-lib-0.1.0
checking for references to /build/ in /nix/store/p1dd2mq9yln8iq534ds3q8zbwf2a7clr-rust-lib-0.1.0...
patching script interpreter paths in /nix/store/p1dd2mq9yln8iq534ds3q8zbwf2a7clr-rust-lib-0.1.0
stripping (with command strip and flags -S -p) in /nix/store/p1dd2mq9yln8iq534ds3q8zbwf2a7clr-rust-lib-0.1.0/lib
Loading