Skip to content

Commit d47014a

Browse files
bors[bot]rmsc
andauthored
Merge #603
603: Fix allowable cortex-m-rt versions r=adamgreig a=rmsc This should prevent Cargo from pulling in two different versions of cortex-m-rt, as happened in #602. This is done by requiring a cortex-m-rt version >=0.6.15, which was the first version where the `link=cortex-m-rt` field was set in Cargo.toml. ~~The second fix is to clearly allow a cortex-m version >= 0.7.2, but still <0.8. I suspect that cargo would still allow newer versions to resolve version conflicts (as happened in #602), but I think it's better to be explicit about it.~~ EDIT: just realized that the second fix doesn't make sense. Co-authored-by: Renato Caldas <renato@calgera.com>
2 parents a68e1dc + 17b1a71 commit d47014a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/makecrates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
7979
[dependencies.cortex-m-rt]
8080
optional = true
81-
version = ">=0.6.13,<0.8"
81+
version = ">=0.6.15,<0.8"
8282
8383
[package.metadata.docs.rs]
8484
features = {docs_features}

0 commit comments

Comments
 (0)