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-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/2fa4f53r1fajiq93n9fzdnxg842qd75l-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 --release -j 4 --message-format json-render-diagnostics
Compiling rust-lib v0.1.0 (/build/source)
Finished release [optimized] target(s) in 3.86s
@nix { "action": "setPhase", "phase": "checkPhase" }
running tests
++ command cargo test --release -j 4
Compiling rust-lib v0.1.0 (/build/source)
Finished release [optimized] target(s) in 0.07s
Running unittests src/lib.rs (target/wasm32-wasi/release/deps/rust_lib-cf7f0c09a48b47b7.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 cargoBuildLoggvRT.json
installing /build/source/target/wasm32-wasi/release/rust_lib.wasm
installing /build/source/target/wasm32-wasi/release/librust_lib.a
searching for bins/libs complete
stripping references to cargoVendorDir from /nix/store/a4xxqrmq02q8h6lw9ri0ck8j571aaiy6-rust-lib-0.1.0/lib/rust_lib.wasm
real 0m3.128s
user 0m0.005s
sys 0m0.008s
stripping references to cargoVendorDir from /nix/store/a4xxqrmq02q8h6lw9ri0ck8j571aaiy6-rust-lib-0.1.0/lib/librust_lib.a
real 0m4.049s
user 0m0.014s
sys 0m0.054s
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/a4xxqrmq02q8h6lw9ri0ck8j571aaiy6-rust-lib-0.1.0
checking for references to /build/ in /nix/store/a4xxqrmq02q8h6lw9ri0ck8j571aaiy6-rust-lib-0.1.0...
patching script interpreter paths in /nix/store/a4xxqrmq02q8h6lw9ri0ck8j571aaiy6-rust-lib-0.1.0
stripping (with command strip and flags -S -p) in /nix/store/a4xxqrmq02q8h6lw9ri0ck8j571aaiy6-rust-lib-0.1.0/lib
Loading