Skip to content
Open
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
166 changes: 46 additions & 120 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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-2026-06-16"
channel = "nightly-2026-11-21"
components = [ "rustfmt", "rust-src", "llvm-tools", "clippy", "miri", "rust-analyzer" ]
2 changes: 1 addition & 1 deletion src/allocator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl<const SIZE: usize> BumpAlloc<SIZE> {
let heap = self.base();
let mut pos = 0;
self.offset
.fetch_update(Ordering::SeqCst, Ordering::SeqCst, |offset| {
.try_update(Ordering::SeqCst, Ordering::SeqCst, |offset| {
let current = unsafe { heap.add(offset) };
let adjust = current.align_offset(align);
pos = offset.checked_add(adjust).expect("alignment overflow");
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

#![feature(allocator_api)]
#![feature(allocator_ext)]
#![feature(sync_unsafe_cell)]
#![cfg_attr(not(any(test, clippy)), no_std)]
#![cfg_attr(not(test), no_main)]
Expand Down
2 changes: 1 addition & 1 deletion x86_64-oxide-none-elf.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"frame-pointer": "always",
"disable-redzone": true,
"features": "-avx,-avx2,-avx512bf16,-f16c,-fxsr,-mmx,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-x87,+soft-float",
"rustc-abi": "x86-softfloat",
"rustc-abi": "softfloat",
"linker-flavor": "ld",
"linker": "gld",
"no-default-libraries": true,
Expand Down
Loading