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

Re: [tor-bugs] #26378 [Core Tor/Tor]: test_rust.sh fails on src/rust/crypto



#26378: test_rust.sh fails on src/rust/crypto
----------------------------+------------------------------------
 Reporter:  asn             |          Owner:  (none)
     Type:  defect          |         Status:  needs_review
 Priority:  Very High       |      Milestone:  Tor: 0.3.4.x-final
Component:  Core Tor/Tor    |        Version:
 Severity:  Normal          |     Resolution:
 Keywords:  rust tor-tests  |  Actual Points:
Parent ID:                  |         Points:  1
 Reviewer:  isis            |        Sponsor:  SponsorV-can
----------------------------+------------------------------------

Comment (by isis):

 Replying to [comment:10 nickm]:
 > I had to merge some other stuff to make the rand tests compile -- what
 do you think of my rust_rand_tests branch?  Before I merged it, I got
 errors like:
 > {{{
 >    Compiling crypto v0.0.1
 (file:///home/nickm/src/tor-034/src/rust/crypto)
 > error[E0468]: an `extern crate` loading macros must be at the crate root
 >   --> crypto/rand/mod.rs:14:1
 >    |
 > 14 | extern crate tor_log;
 >    | ^^^^^^^^^^^^^^^^^^^^^
 >
 > error[E0432]: unresolved import `rand::ChaChaRng`
 >    --> crypto/rand/rng.rs:133:13
 >     |
 > 133 |     pub use rand::ChaChaRng as TorRng;
 >     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ no `ChaChaRng` in `rand`
 >
 > error[E0432]: unresolved import `rand::ChaChaRng`
 >    --> crypto/rand/rng.rs:134:13
 >     |
 > 134 |     pub use rand::ChaChaRng as TorStrongestRng;
 >     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ChaChaRng` in
 `rand`
 >
 > }}}

 LGTM!

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26378#comment:12>
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