mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
ace98493bd
Replace master .travis.yml with 034 .travis.yml. All the changes in master have been backported to the 034 .travis.yml already. Replace master src/test/test_rust.sh with 034 src/test/test_rust.sh, which was backported from master. One 033/034-specific commit needs to be reverted.
29 lines
736 B
Plaintext
29 lines
736 B
Plaintext
EXTRA_DIST +=\
|
|
src/rust/tor_rust/Cargo.toml \
|
|
src/rust/tor_rust/lib.rs
|
|
|
|
EXTRA_CARGO_OPTIONS=
|
|
|
|
@TOR_RUST_LIB_PATH@: FORCE
|
|
( cd "$(abs_top_builddir)/src/rust" ; \
|
|
CARGO_TARGET_DIR="$(abs_top_builddir)/src/rust/target" \
|
|
$(CARGO) build --release $(EXTRA_CARGO_OPTIONS) \
|
|
$(CARGO_ONLINE) \
|
|
--manifest-path "$(abs_top_srcdir)/src/rust/tor_rust/Cargo.toml" )
|
|
|
|
distclean-rust:
|
|
( cd "$(abs_top_builddir)/src/rust" ; \
|
|
CARGO_TARGET_DIR="$(abs_top_builddir)/src/rust/target" \
|
|
$(CARGO) clean $(EXTRA_CARGO_OPTIONS) \
|
|
$(CARGO_ONLINE) \
|
|
--manifest-path "$(abs_top_srcdir)/src/rust/tor_rust/Cargo.toml" )
|
|
rm -rf "$(abs_top_builddir)/src/rust/registry"
|
|
|
|
if USE_RUST
|
|
build-rust: @TOR_RUST_LIB_PATH@
|
|
else
|
|
build-rust:
|
|
endif
|
|
|
|
FORCE:
|