Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to the latest Rust nightly. #113

Merged
merged 3 commits into from
May 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ errno = { version = "0.3.3", default-features = false, optional = true }
# Special dependencies used in rustc-dep-of-std mode.
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-alloc" }
compiler_builtins = { version = "0.1.101", optional = true }
# Enable "no-f16-f128" for now, to work around lack of support on some targets.
compiler_builtins = { version = "0.1.112", features = ["no-f16-f128"], optional = true }

[target.'cfg(not(target_arch = "arm"))'.dependencies.unwinding]
version = "0.2.0"
Expand Down
2 changes: 1 addition & 1 deletion example-crates/external-start/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ libc = { version = "0.2", default-features = false }
# Crates to help writing no_std code.
atomic-dbg = { version = "0.1.8", default-features = false }
rustix-dlmalloc = { version = "0.1.0", features = ["global"] }
compiler_builtins = { version = "0.1.101", features = ["mem"] }
compiler_builtins = { version = "0.1.112", features = ["mem", "no-f16-f128"] }

# This is just an example crate, and not part of the origin workspace.
[workspace]
2 changes: 1 addition & 1 deletion example-crates/origin-start-dynamic-linker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ origin = { path = "../..", default-features = false, features = ["origin-thread"
# Crates to help writing no_std code.
atomic-dbg = { version = "0.1.8", default-features = false }
rustix-dlmalloc = { version = "0.1.0", features = ["global"] }
compiler_builtins = { version = "0.1.101", features = ["mem"] }
compiler_builtins = { version = "0.1.112", features = ["mem", "no-f16-f128"] }

# This is just an example crate, and not part of the origin workspace.
[workspace]
2 changes: 1 addition & 1 deletion example-crates/origin-start-lto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ origin = { path = "../..", default-features = false, features = ["origin-thread"
# Crates to help writing no_std code.
atomic-dbg = { version = "0.1.8", default-features = false }
rustix-dlmalloc = { version = "0.1.0", features = ["global"] }
compiler_builtins = { version = "0.1.101", features = ["mem"] }
compiler_builtins = { version = "0.1.112", features = ["mem", "no-f16-f128"] }

# This is just an example crate, and not part of the origin workspace.
[workspace]
Expand Down
2 changes: 1 addition & 1 deletion example-crates/origin-start-no-alloc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ origin = { path = "../..", default-features = false, features = ["origin-start"]

# Crates to help writing no_std code.
atomic-dbg = { version = "0.1.8", default-features = false }
compiler_builtins = { version = "0.1.101", features = ["mem"] }
compiler_builtins = { version = "0.1.112", features = ["mem", "no-f16-f128"] }

# This is just an example crate, and not part of the origin workspace.
[workspace]
2 changes: 1 addition & 1 deletion example-crates/origin-start/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ origin = { path = "../..", default-features = false, features = ["origin-thread"
# Crates to help writing no_std code.
atomic-dbg = { version = "0.1.8", default-features = false }
rustix-dlmalloc = { version = "0.1.0", features = ["global"] }
compiler_builtins = { version = "0.1.101", features = ["mem"] }
compiler_builtins = { version = "0.1.112", features = ["mem", "no-f16-f128"] }

# This is just an example crate, and not part of the origin workspace.
[workspace]
2 changes: 1 addition & 1 deletion example-crates/tiny/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ publish = false
origin = { path = "../..", default-features = false, features = ["origin-start"] }

# Crates to help writing no_std code.
compiler_builtins = { version = "0.1.101", features = ["mem"] }
compiler_builtins = { version = "0.1.112", features = ["mem", "no-f16-f128"] }

# This is just an example crate, and not part of the origin workspace.
[workspace]
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2024-04-21"
channel = "nightly-2024-05-16"
components = ["rustc", "cargo", "rust-std", "rust-src", "rustfmt"]
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#![feature(strict_provenance)]
#![feature(exposed_provenance)]
#![deny(fuzzy_provenance_casts, lossy_provenance_casts)]
#![allow(unexpected_cfgs)]
#![no_std]

#[cfg(all(feature = "alloc", not(feature = "rustc-dep-of-std")))]
Expand Down
2 changes: 1 addition & 1 deletion test-crates/origin-start/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false
origin = { path = "../..", default-features = false, features = ["origin-thread", "origin-start", "thread", "alloc"] }
atomic-dbg = { version = "0.1.8", default-features = false }
rustix-dlmalloc = { version = "0.1.0", features = ["global"] }
compiler_builtins = { version = "0.1.101", features = ["mem"] }
compiler_builtins = { version = "0.1.112", features = ["mem", "no-f16-f128"] }
rustix = { version = "0.38", default-features = false, features = ["thread"] }
rustix-futex-sync = { version = "0.2.1", default-features = false }

Expand Down
Loading