rustc-dev-guide icon indicating copy to clipboard operation
rustc-dev-guide copied to clipboard

Describe how to swap in local modified crate

Open pnkfelix opened this issue 6 years ago • 1 comments

Recently while working on rustc I mused that a certain task would have been easier if I could have plugged in a different version of the ena crate.

It is probably easy to do this in general. @nikomatsakis says they do it by modifying Cargo.toml in an appropriate fashion. Perhaps even a patch there would work.

But in any case, it would be good to document the process.

pnkfelix avatar Jan 22 '19 15:01 pnkfelix

Does this answer the question: https://internals.rust-lang.org/t/how-to-specify-a-private-repository-for-one-library-like-libc/9779

mark-i-m avatar Apr 08 '19 00:04 mark-i-m