diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-16 14:34:31 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-16 14:34:31 -0400 |
commit | a8ac21fbb5f22b68ffa019b575085c142293bc40 (patch) | |
tree | e32e8574612eba971173c5513bd57eae9162bce3 /src/test | |
parent | 078debb0ded16e7f8d79d5aa6f4184ae5ad44ff9 (diff) | |
download | tor-a8ac21fbb5f22b68ffa019b575085c142293bc40.tar.gz tor-a8ac21fbb5f22b68ffa019b575085c142293bc40.zip |
Don't try to link C from rust doctests for nss detection
This is really annoying, since we can't use cfg(test) for doctests.
Diffstat (limited to 'src/test')
-rwxr-xr-x | src/test/test_rust.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_rust.sh b/src/test/test_rust.sh index 4afc84285f..a1a56af480 100755 --- a/src/test/test_rust.sh +++ b/src/test/test_rust.sh @@ -10,6 +10,7 @@ for cargo_toml_dir in "${abs_top_srcdir:-../../..}"/src/rust/*; do cd "${abs_top_builddir:-../../..}/src/rust" && \ CARGO_TARGET_DIR="${abs_top_builddir:-../../..}/src/rust/target" \ "${CARGO:-cargo}" test ${CARGO_ONLINE-"--frozen"} \ + --features "test_linking_hack" \ ${EXTRA_CARGO_OPTIONS} \ --manifest-path "${cargo_toml_dir}/Cargo.toml" || exitcode=1 fi |