Hello
As a newbie I tested the hello_world program successfully
Then I downloaded a new program to test it.
I could not build it, perhaps due to bad name in the crates...
...\projects\stm32.rs-master>cargo test
Updating git repository https://github.com/hackndev/rust-libcore.git
Updating git repository https://github.com/mokus0/zinc
Updating git repository https://github.com/mokus0/arm_embedded_rt.git
no matching package named core found (required by stm32)
location searched: GitHub - hackndev/rust-libcore: Cargo dep for libcore nightlies
version required: *
My problem is that now, even the former project no more work :
C:\Users\FPIPON\projects\hello_world>cargo test
Unable to update file:///C:/path/to/override
Why project interfere each other ? How can I solve this ?
I agree. Also in my experience you (very) rarely need to edit Cargo's config file, in my case I only did so recently to set up cross-compiling, and even then it was just for convenience rather than strictly necessary.
In your config, I advise you to remove entries unless you know what they're doing. For instance, in the target="triple" line, the triple parameter should be replaced by a valid target, as in target=arm-unknown-linux-gnueabihf. Same goes for target-dir, rustflags, etc. which in this example all have dummy values meant to be replaced.
Did you need to edit the configuration because of the proxy?
Yes I had to use this proxy, so I changed the config file.
First I only changed these lines but got some errors : I then removed all lines causing errors.
What is strange is that with this config file, the hello_world project was compiling and run correctly at first.
It's only when I tried stm32.rs-master that the error appeared on hello_world.