[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #26038 [Core Tor/Tor]: Misc Rust/Cargo improvements (incl. use global cargo cache)



#26038: Misc Rust/Cargo improvements (incl. use global cargo cache)
----------------------------------------+----------------------------------
 Reporter:  Hello71                     |          Owner:  Hello71
     Type:  enhancement                 |         Status:
                                        |  needs_information
 Priority:  Medium                      |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor                |        Version:
 Severity:  Normal                      |     Resolution:
 Keywords:  rust, 035-removed-20180711  |  Actual Points:
Parent ID:  #24629                      |         Points:
 Reviewer:  isis                        |        Sponsor:
----------------------------------------+----------------------------------

Comment (by Hello71):

 1. remove source.crates-io.registry = 'https://github.com/rust-lang/crates
 .io-index'. I think this is obsolete.

 2. set target-dir = './target' instead of CARGO_TARGET_DIR, so we don't
 have to set that with cargo build and cargo test

 3. stop setting CARGO_HOME. warn if it is set for backwards compat, and
 error if it is a relative path. now that I think about it, maybe
 CARGO_HOME should be AC_ARG_VAR, but I don't think it really matters.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26038#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs