[tor-bugs] #27130 [Core Tor/Tor]: rust dependency updating instructions don't work

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Sep 19 23:51:30 UTC 2018


#27130: rust dependency updating instructions don't work
-------------------------------------------------+-------------------------
 Reporter:  cyberpunks                           |          Owner:  (none)
     Type:  defect                               |         Status:
                                                 |  needs_information
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.5.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.3.9
 Severity:  Normal                               |     Resolution:
 Keywords:  rust, doc, 033-backport,             |  Actual Points:
  034-backport                                   |
Parent ID:                                       |         Points:
 Reviewer:  catalyst                             |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by catalyst):

 Replying to [comment:10 cyberpunks]:
 > Replying to [comment:9 catalyst]:
 > > It looks like updates to newer versions still won't happen without
 `cargo update` right?
 >
 > Are you sure? That shouldn't be true, that's the entire point of the
 code change. It now is allowed to alter the `Cargo.lock` file. As the code
 was before, you had to run `cargo update` beforehand, and the instructions
 never mentioned this requirement. Now you don't have to at all. Just
 commit the change it made.
 I just tried it.  It looks like I have to run `cargo update` to update
 `Cargo.lock` to a newer version of `libc`, and `cargo vendor` doesn't try
 to change it.

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


More information about the tor-bugs mailing list