diff --git a/.cargo/config b/.cargo/config index 56eb049..d967978 100644 --- a/.cargo/config +++ b/.cargo/config @@ -4,6 +4,7 @@ rustflags = [ "-C", "link-arg=-Tlink.x", "-C", "linker=arm-none-eabi-ld", "-Z", "linker-flavor=ld", + "-Z", "thinlto=no", ] [target.thumbv7m-none-eabi] @@ -12,6 +13,7 @@ rustflags = [ "-C", "link-arg=-Tlink.x", "-C", "linker=arm-none-eabi-ld", "-Z", "linker-flavor=ld", + "-Z", "thinlto=no", ] [target.thumbv7em-none-eabi] @@ -20,6 +22,7 @@ rustflags = [ "-C", "link-arg=-Tlink.x", "-C", "linker=arm-none-eabi-ld", "-Z", "linker-flavor=ld", + "-Z", "thinlto=no", ] [target.thumbv7em-none-eabihf] @@ -28,4 +31,5 @@ rustflags = [ "-C", "link-arg=-Tlink.x", "-C", "linker=arm-none-eabi-ld", "-Z", "linker-flavor=ld", + "-Z", "thinlto=no", ] diff --git a/CHANGELOG.md b/CHANGELOG.md index df91087..874bab5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [v0.2.4] - 2018-01-26 + +### Changed + +- Disable ThinLTO which causes extreme binary size bloat. See rust-lang/rust#47770 for details. + ## [v0.2.3] - 2018-01-20 ### Changed @@ -121,7 +127,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Initial release -[Unreleased]: https://github.com/japaric/cortex-m-quickstart/compare/v0.2.3...HEAD +[Unreleased]: https://github.com/japaric/cortex-m-quickstart/compare/v0.2.4...HEAD +[v0.2.4]: https://github.com/japaric/cortex-m-quickstart/compare/v0.2.3...v0.2.4 [v0.2.3]: https://github.com/japaric/cortex-m-quickstart/compare/v0.2.2...v0.2.3 [v0.2.2]: https://github.com/japaric/cortex-m-quickstart/compare/v0.2.1...v0.2.2 [v0.2.1]: https://github.com/japaric/cortex-m-quickstart/compare/v0.2.0...v0.2.1 diff --git a/Cargo.toml b/Cargo.toml index b1677e1..e61a454 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ keywords = ["arm", "cortex-m", "template"] license = "MIT OR Apache-2.0" name = "cortex-m-quickstart" repository = "https://github.com/japaric/cortex-m-quickstart" -version = "0.2.3" +version = "0.2.4" [dependencies] cortex-m = "0.3.0"