You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In building rust, I see there are two version of rand have been downloaded into my CARGO_HOME directory, one is 0.6.1, one is 0.7.0. I aslo see the layout of the souce code is quite differnt than what we can see here.
So my quesiton is how/where rust fetch the rand crate source code? In other word, if I want to add something to rand and build it with rust, how should I setup my work environment so the rust could use my local rand copy?
Thanks,
Baoshan
The text was updated successfully, but these errors were encountered:
Cargo fetches your dependency depending on what is specified in Cargo.toml. You can specify a path dependency with Cargo to use a local copy of Rand. Does this work for you?
In building rust, I see there are two version of rand have been downloaded into my CARGO_HOME directory, one is 0.6.1, one is 0.7.0. I aslo see the layout of the souce code is quite differnt than what we can see here.
So my quesiton is how/where rust fetch the rand crate source code? In other word, if I want to add something to rand and build it with rust, how should I setup my work environment so the rust could use my local rand copy?
Thanks,
Baoshan
The text was updated successfully, but these errors were encountered: