Skip to content

Commit a345833

Browse files
committed
Liballoc was updated to 2018 edition
Building without edition=2018 does no longer work on latest nightly.
1 parent 3c16ffe commit a345833

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
55

66
## [Unreleased]
77

8+
## [v0.5.4] - 2019-02-04
9+
- Fix build on latest nightly: `liballoc` was updated to Rust 2018
10+
811
## [v0.5.4] - 2019-01-17
912
- Don't fail when the `lib` or `bin` directories don't exist; only emit a warning
1013

@@ -376,7 +379,8 @@ stage = 1
376379

377380
- Initial release
378381

379-
[Unreleased]: https://github.com/rust-osdev/cargo-xbuild/compare/v0.5.4...HEAD
382+
[Unreleased]: https://github.com/rust-osdev/cargo-xbuild/compare/v0.5.5...HEAD
383+
[v0.5.5]: https://github.com/rust-osdev/cargo-xbuild/compare/v0.5.4...v0.5.5
380384
[v0.5.4]: https://github.com/rust-osdev/cargo-xbuild/compare/v0.5.3...v0.5.4
381385
[v0.5.3]: https://github.com/rust-osdev/cargo-xbuild/compare/v0.5.2...v0.5.3
382386
[v0.5.2]: https://github.com/rust-osdev/cargo-xbuild/compare/v0.5.1...v0.5.2

src/sysroot.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ fn build_liballoc(
143143
authors = ["The Rust Project Developers"]
144144
name = "alloc"
145145
version = "0.0.0"
146+
edition = "2018"
146147
147148
[dependencies.compiler_builtins]
148149
version = "0.1.0"

0 commit comments

Comments
 (0)