diff options
author | 2019-06-06 09:00:08 +0000 | |
---|---|---|
committer | 2019-06-06 09:00:08 +0000 | |
commit | ddebec2bd0544a0a6c377059390a454a8943e0a8 (patch) | |
tree | 6a7e649a1a122173d454702f89864e88feecdb81 | |
parent | 10d6e250af596d24229c6e7e8221a766975e8b37 (diff) | |
parent | fa185a638ee4662e24f879e1365fa942343f57b7 (diff) | |
download | cortex-m-ddebec2bd0544a0a6c377059390a454a8943e0a8.tar.gz cortex-m-ddebec2bd0544a0a6c377059390a454a8943e0a8.tar.zst cortex-m-ddebec2bd0544a0a6c377059390a454a8943e0a8.zip |
Merge #140
140: Cargo.toml: Add `links = "cortex-m"` r=therealprof a=jonas-schievink
This prevents linking multiple versions of `cortex-m` together, which would be
unsound. Currently it uses a `#[no_mangle]` static for this, which isn't always
reliable.
Fixes #137
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
-rw-r--r-- | Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,6 +12,7 @@ name = "cortex-m" readme = "README.md" repository = "https://github.com/japaric/cortex-m" version = "0.6.0" +links = "cortex-m" # prevent multiple versions of this crate to be linked together [dependencies] aligned = "0.3.1" |