[tor-bugs] #24795 [Core Tor/Tor]: test_rust fails on osx with "can't find crate for `libc`"

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jan 4 19:07:53 UTC 2018


#24795: test_rust fails on osx with "can't find crate for `libc`"
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.2.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  rust osx tests
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 After I apply mix fix for #24642, I see this message in test-suite.log
 from test_rust.sh:
 {{{

    Doc-tests protover
 error[E0463]: can't find crate for `libc`
   --> /Users/nickm/src/tor/src/rust/protover/lib.rs:25:1
    |
 25 | extern crate libc;
    | ^^^^^^^^^^^^^^^^^^ can't find crate

 }}}

 I do not see the same message on my linux rust builds.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24795>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list