goertzenator / rebar3_rust

Rebar3 plugin to build Rust crates (unmaintained). See https://github.com/filmor/rebar3_rust/tree/update for more recent work.
Apache License 2.0
9 stars 5 forks source link

can't use with OTP 21 #8

Open NobbZ opened 5 years ago

NobbZ commented 5 years ago

But maybe its not necessarily related to OTP, still tests are failing:

===> Running Common Test suites...
%%% rebar3_rust_SUITE:
%%% rebar3_rust_SUITE ==> test_test_app: FAILED
%%% rebar3_rust_SUITE ==> {thrown,rebar_abort}
...
EXPERIMENTAL: Writing retry specification at /tmp/tmp.yRYWqPZqa3/rebar3_rust/_build/test/logs/retry.spec
              call rebar3 ct with '--retry' to re-run failing cases.
Failed 1 tests. Passed 3 tests.
Results written to "/tmp/tmp.yRYWqPZqa3/rebar3_rust/_build/test/logs/index.html".
===> Failures occurred running tests: 1
NobbZ commented 5 years ago

I'm not sure why the tests fail, but I was able to get it working with my own project by setting the crate-type to "dylib", perhaps this should be better documented?