Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(rust): add support for wasm32-unknown-unknown #138

Merged
merged 2 commits into from
Jul 19, 2023

refactor(rust-complex): do not use nightly

1308568
Select commit
Loading
Failed to load commit list.
Merged

feat(rust): add support for wasm32-unknown-unknown #138

refactor(rust-complex): do not use nightly
1308568
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Garnix CI / check rust-workspace-package-rust-workspace-debug-x86_64-unknown-linux-gnu [x86_64-linux] succeeded Jul 19, 2023 in 31s

Run results

Build succeeded

Details

Last 100 lines of logs:

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/vn1pgw748a01zs26i8h5cd8lxzd6x408-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
Executing configureCargoCommonVars
decompressing cargo artifacts from /nix/store/qz5h8m52ppyzyjs4rs27ycbvqsgp7bs1-rust-workspace-deps-0.0.0-unspecified/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 --workspace --message-format json-render-diagnostics
   Compiling fourty-two v0.1.0 (/build/source/other/fourty-two)
   Compiling hello-workspace v0.1.0 (/build/source/hello)
   Compiling hello2 v0.1.0 (/build/source/hello2)
   Compiling lib v0.1.0 (/build/source/lib)
    Finished dev [unoptimized + debuginfo] target(s) in 0.50s
@nix { "action": "setPhase", "phase": "checkPhase" }
running tests
++ command cargo test --profile dev -j 4 --workspace
   Compiling fourty-two v0.1.0 (/build/source/other/fourty-two)
   Compiling hello2 v0.1.0 (/build/source/hello2)
   Compiling hello-workspace v0.1.0 (/build/source/hello)
   Compiling lib v0.1.0 (/build/source/lib)
    Finished dev [unoptimized + debuginfo] target(s) in 0.65s
     Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/debug/deps/fourty_two-18fe2e8bcc95d6b5)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/debug/deps/hello_workspace-446250bacd280be2)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/debug/deps/hello2-f5c3203090f9fa7a)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/debug/deps/lib-11e1aa2a3cf43b55)

running 1 test
test tests::it_works ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests lib

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

@nix { "action": "setPhase", "phase": "installPhase" }
installing
searching for bins/libs to install from cargo build log at cargoBuildLogtJIX.json
installing /build/source/target/x86_64-unknown-linux-gnu/debug/fourty-two
installing /build/source/target/x86_64-unknown-linux-gnu/debug/hello-workspace
installing /build/source/target/x86_64-unknown-linux-gnu/debug/hello2
searching for bins/libs complete
stripping references to cargoVendorDir from /nix/store/ry621sbcqlxsb8wkygr0rl5dr2b3npvq-rust-workspace-0.0.0-unspecified/bin/hello-workspace

real	0m2.885s
user	0m0.011s
sys	0m0.021s
stripping references to cargoVendorDir from /nix/store/ry621sbcqlxsb8wkygr0rl5dr2b3npvq-rust-workspace-0.0.0-unspecified/bin/fourty-two

real	0m2.647s
user	0m0.023s
sys	0m0.037s
stripping references to cargoVendorDir from /nix/store/ry621sbcqlxsb8wkygr0rl5dr2b3npvq-rust-workspace-0.0.0-unspecified/bin/hello2

real	0m2.704s
user	0m0.007s
sys	0m0.016s
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/ry621sbcqlxsb8wkygr0rl5dr2b3npvq-rust-workspace-0.0.0-unspecified
shrinking /nix/store/ry621sbcqlxsb8wkygr0rl5dr2b3npvq-rust-workspace-0.0.0-unspecified/bin/hello-workspace
shrinking /nix/store/ry621sbcqlxsb8wkygr0rl5dr2b3npvq-rust-workspace-0.0.0-unspecified/bin/fourty-two
shrinking /nix/store/ry621sbcqlxsb8wkygr0rl5dr2b3npvq-rust-workspace-0.0.0-unspecified/bin/hello2
checking for references to /build/ in /nix/store/ry621sbcqlxsb8wkygr0rl5dr2b3npvq-rust-workspace-0.0.0-unspecified...
patching script interpreter paths in /nix/store/ry621sbcqlxsb8wkygr0rl5dr2b3npvq-rust-workspace-0.0.0-unspecified
stripping (with command strip and flags -S -p) in  /nix/store/ry621sbcqlxsb8wkygr0rl5dr2b3npvq-rust-workspace-0.0.0-unspecified/bin