aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cortex-m-semihosting/CHANGELOG.md7
-rw-r--r--cortex-m-semihosting/Cargo.toml2
l---------cortex-m-semihosting/bin1
-rw-r--r--cortex-m-semihosting/build.rs2
4 files changed, 9 insertions, 3 deletions
diff --git a/cortex-m-semihosting/CHANGELOG.md b/cortex-m-semihosting/CHANGELOG.md
index 0abe647..25ee2b0 100644
--- a/cortex-m-semihosting/CHANGELOG.md
+++ b/cortex-m-semihosting/CHANGELOG.md
@@ -5,6 +5,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
+## [v0.4.1] - 2020-10-20
+
+- Fix missing prebuilt binaries (#271)
+
## [v0.4.0] - 2020-10-14
- Moved into cortex-m repository
@@ -115,7 +119,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Initial release
-[Unreleased]: https://github.com/rust-embedded/cortex-m/compare/c-m-sh-v0.4.0...HEAD
+[Unreleased]: https://github.com/rust-embedded/cortex-m/compare/c-m-sh-v0.4.1...HEAD
+[v0.4.1]: https://github.com/rust-embedded/cortex-m/compare/c-m-sh-v0.4.0...c-m-sh-v0.4.1
[v0.4.0]: https://github.com/rust-embedded/cortex-m/compare/c-m-sh-v0.3.5...c-m-sh-v0.4.0
[v0.3.5]: https://github.com/rust-embedded/cortex-m-semihosting/compare/v0.3.4...v0.3.5
[v0.3.4]: https://github.com/rust-embedded/cortex-m-semihosting/compare/v0.3.3...v0.3.4
diff --git a/cortex-m-semihosting/Cargo.toml b/cortex-m-semihosting/Cargo.toml
index 368e0f1..c6204eb 100644
--- a/cortex-m-semihosting/Cargo.toml
+++ b/cortex-m-semihosting/Cargo.toml
@@ -10,7 +10,7 @@ license = "MIT OR Apache-2.0"
name = "cortex-m-semihosting"
readme = "README.md"
repository = "https://github.com/rust-embedded/cortex-m"
-version = "0.4.0"
+version = "0.4.1"
edition = "2018"
[features]
diff --git a/cortex-m-semihosting/bin b/cortex-m-semihosting/bin
new file mode 120000
index 0000000..19f285a
--- /dev/null
+++ b/cortex-m-semihosting/bin
@@ -0,0 +1 @@
+../bin \ No newline at end of file
diff --git a/cortex-m-semihosting/build.rs b/cortex-m-semihosting/build.rs
index 5fc6a04..315035e 100644
--- a/cortex-m-semihosting/build.rs
+++ b/cortex-m-semihosting/build.rs
@@ -9,7 +9,7 @@ fn main() {
if target.starts_with("thumbv") {
if env::var_os("CARGO_FEATURE_INLINE_ASM").is_none() {
fs::copy(
- format!("../bin/{}.a", target),
+ format!("bin/{}.a", target),
out_dir.join(format!("lib{}.a", name)),
)
.unwrap();