-
Notifications
You must be signed in to change notification settings - Fork 83
error during compilation if two copies of cortex-m-rt are being linked #106
Conversation
linking two copies into the final binary produces a confusing linker error message. This improves the situation by producing an error at compile time. This will have to be backported into the v0.5.x series or you won't get the new error message.
bors r+ |
106: error during compilation if two copies of cortex-m-rt are being linked r=adamgreig a=japaric linking two copies into the final binary produces a confusing linker error message. This improves the situation by producing an error at compile time. This will have to be backported into the v0.5.x series or you won't get the new error message. r? @rust-embedded/cortex-m (anyone) Co-authored-by: Jorge Aparicio <[email protected]>
@@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0" | |||
name = "cortex-m-rt" | |||
readme = "README.md" | |||
repository = "https://github.com/japaric/cortex-m-rt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be changed to https://github.com/rust-embedded/cortex-m-rt at some point?
I've a feeling we're going to bump the version at least one more time today. Maybe be careful with single change version bumps? ;) |
Build succeeded |
Thinking more about it: v0.6.x still uses the same symbols and linker sections as v0.5.x so instead of making it an error to use both we could use the semver-trick to make them work together (i.e. having both minor versions in the dependency graph doesn't cause any error). I'll try that and see if it works ... |
Published: https://crates.io/crates/cortex-m-rt/0.5.7 which is compatible with v0.6.x |
linking two copies into the final binary produces a confusing linker error
message. This improves the situation by producing an error at compile time.
This will have to be backported into the v0.5.x series or you won't get the new
error message.
r? @rust-embedded/cortex-m (anyone)