forked from theseus-os/Theseus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to Rustc version nightly-2020-11-10 (theseus-os#329)
* Remove stabilized features and add new required ones. * Change `catch_unwind` crate to accommodate new `try` intrinsic function signature. * Remove dependency on `core_io` crate, which was very difficult to use and update. Use `bare_io` instead. * Remove custom version of `memoffset` crate, as the newer compiler version builds the one on crates.io properly. * Use llvm_asm!() macro instead of asm!(), which has been deprecated. Will move to the new safer inline assembly syntax later. * Remove lots of unnecessary parenthesis and braces, which are now hard warnings. * The `Step` trait is now unsafe, so we should find an alternative implementation for `Page` and `Frame`. * Fix problem with compiler_builtins traits now being private, so we need to expand our `truncate` implementation. This can be removed once the compiler_builtins crate implements `__truncdfsf2vfp`. * Adapt to the new function signature for `AtomicU*::fetch_update()` * Make similar changes to the `x86_64` and `irq_safety` libraries.
- Loading branch information
1 parent
d6023b1
commit 31937ac
Showing
62 changed files
with
1,968 additions
and
1,657 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ authors = ["Zhiyao Ma <[email protected]>"] | |
build = "../../build.rs" | ||
|
||
[dependencies] | ||
core_io = "0.1" | ||
bare-io = { version = "0.2.1", features = [ "alloc" ] } | ||
|
||
[dependencies.stdio] | ||
path = "../../libs/stdio" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ authors = ["Zhiyao Ma <[email protected]>"] | |
build = "../../build.rs" | ||
|
||
[dependencies] | ||
core_io = "0.1" | ||
bare-io = { version = "0.2.1", features = [ "alloc" ] } | ||
|
||
[dependencies.app_io] | ||
path = "../app_io" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ authors = ["Zhiyao Ma <[email protected]>"] | |
build = "../../build.rs" | ||
|
||
[dependencies] | ||
core_io = "0.1" | ||
bare-io = { version = "0.2.1", features = [ "alloc" ] } | ||
|
||
[dependencies.scheduler] | ||
path = "../../kernel/scheduler" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ LABEL [email protected] | |
|
||
|
||
# These build args are required. | ||
# RUSTC_VERSION is the Rust version and build date: "nightly-2019-10-17" | ||
# RUSTC_VERSION is the Rust version and build date, e.g., "nightly-2019-10-17" | ||
# USER is the current user's name: "kevin" | ||
# UID is that same user's id: "1000" | ||
# GID is that same user's group id: "1000" | ||
|
@@ -65,4 +65,4 @@ ENV PATH="$HOME/.cargo/bin:${PATH}" | |
RUN rustup toolchain install ${RUSTC_VERSION} && rustup component add rust-src | ||
|
||
# Install xargo (for cross compilation) | ||
RUN cargo install --vers 0.3.17 xargo | ||
RUN cargo install --vers 0.3.22 xargo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
//! | ||
#![no_std] | ||
#![feature(asm)] | ||
|
||
#[macro_use] extern crate alloc; | ||
#[macro_use] extern crate log; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,8 +17,6 @@ | |
//! | ||
#![no_std] | ||
#![feature(asm)] | ||
|
||
|
||
extern crate alloc; | ||
#[macro_use] extern crate log; | ||
|
Oops, something went wrong.