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-complex-package-rust-complex-debug-x86_64-unknown-linux-gnu [x86_64-linux] succeeded Jul 19, 2023 in 33s

Run results

Build succeeded

Details

Last 100 lines of logs:

unpacking sources
unpacking source archive /nix/store/vc5z1v873q4vyl2hlzbnr5l13iddz4c1-source
source root is source
patching sources
Executing configureCargoCommonVars
decompressing cargo artifacts from /nix/store/7j28k1mairs9pnhyldh4gizg43x0bqj8-rust-complex-deps-0.0.0-unspecified/target.tar.zst to target
configuring
will append /build/source/.cargo-home/config.toml with contents of /nix/store/r0j51mnxyizp98k47bin2frnz8waqqjx-vendor-cargo-deps/config.toml
default configurePhase, nothing to do
building
++ command cargo --version
cargo 1.72.0-beta.1 (45782b6b8 2023-07-05)
++ command cargo build --profile dev -j 16 --workspace --message-format json-render-diagnostics
   Compiling foo v0.1.0 (/build/source/foo)
   Compiling rust-complex v0.1.0 (/build/source)
warning: function `main` is never used
 --> src/lib.rs:4:4
  |
4 | fn main() {
  |    ^^^^
  |
  = note: `#[warn(dead_code)]` on by default

warning: `rust-complex` (lib) generated 1 warning
    Finished dev [unoptimized + debuginfo] target(s) in 0.15s
running tests
++ command cargo test --profile dev -j 16 --workspace
   Compiling foo v0.1.0 (/build/source/foo)
warning: function `main` is never used
 --> src/lib.rs:4:4
  |
4 | fn main() {
  |    ^^^^
  |
  = note: `#[warn(dead_code)]` on by default

warning: `rust-complex` (lib) generated 1 warning
   Compiling rust-complex v0.1.0 (/build/source)
    Finished dev [unoptimized + debuginfo] target(s) in 0.16s
     Running unittests src/lib.rs (target/x86_64-unknown-linux-gnu/debug/deps/foo-7e14798f986caa8d)

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/foo-85684332044ac3a7)

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/rust_complex-ce1aaec1838b4df9)

running 0 tests

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

   Doc-tests rust-complex

running 0 tests

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

installing
searching for bins/libs to install from cargo build log at cargoBuildLogEtZn.json
installing /build/source/target/x86_64-unknown-linux-gnu/debug/libfoo.so
installing /build/source/target/x86_64-unknown-linux-gnu/debug/libfoo.a
installing /build/source/target/x86_64-unknown-linux-gnu/debug/foo
searching for bins/libs complete
stripping references to cargoVendorDir from /nix/store/cjhyhr4pjy0wkg1nydmgjxh13dj8bz19-rust-complex-0.0.0-unspecified/lib/libfoo.so

real    0m0.224s
user    0m0.014s
sys     0m0.017s
stripping references to cargoVendorDir from /nix/store/cjhyhr4pjy0wkg1nydmgjxh13dj8bz19-rust-complex-0.0.0-unspecified/lib/libfoo.a

real    0m0.459s
user    0m0.034s
sys     0m0.029s
stripping references to cargoVendorDir from /nix/store/cjhyhr4pjy0wkg1nydmgjxh13dj8bz19-rust-complex-0.0.0-unspecified/bin/foo

real    0m0.258s
user    0m0.014s
sys     0m0.017s
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/cjhyhr4pjy0wkg1nydmgjxh13dj8bz19-rust-complex-0.0.0-unspecified
shrinking /nix/store/cjhyhr4pjy0wkg1nydmgjxh13dj8bz19-rust-complex-0.0.0-unspecified/lib/libfoo.so
shrinking /nix/store/cjhyhr4pjy0wkg1nydmgjxh13dj8bz19-rust-complex-0.0.0-unspecified/bin/foo
checking for references to /build/ in /nix/store/cjhyhr4pjy0wkg1nydmgjxh13dj8bz19-rust-complex-0.0.0-unspecified...
patching script interpreter paths in /nix/store/cjhyhr4pjy0wkg1nydmgjxh13dj8bz19-rust-complex-0.0.0-unspecified
stripping (with command strip and flags -S -p) in  /nix/store/cjhyhr4pjy0wkg1nydmgjxh13dj8bz19-rust-complex-0.0.0-unspecified/lib /nix/store/cjhyhr4pjy0wkg1nydmgjxh13dj8bz19-rust-complex-0.0.0-unspecified/bin