Skip to content

Commit 885a5c0

Browse files
authored
Merge pull request #186 from toku-sa-n/master
Fix build error on latest nightly
2 parents cdeae7c + ce4afba commit 885a5c0

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#![cfg_attr(not(test), no_std)]
55
#![cfg_attr(feature = "const_fn", feature(const_fn))]
66
#![cfg_attr(feature = "const_fn", feature(const_mut_refs))]
7+
#![cfg_attr(feature = "const_fn", feature(const_fn_fn_ptr_basics))]
78
#![cfg_attr(feature = "const_fn", feature(const_in_array_repeat_expressions))]
89
#![cfg_attr(feature = "inline_asm", feature(llvm_asm))]
910
#![cfg_attr(feature = "abi_x86_interrupt", feature(abi_x86_interrupt))]

testing/Cargo.toml

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,16 @@ name = "double_fault_stack_overflow"
1717
harness = false
1818

1919
[dependencies]
20-
bootloader = "0.9.3"
21-
uart_16550 = "0.2.0"
20+
bootloader = "0.9.10"
21+
uart_16550 = "0.2.8"
2222
spin = "0.5.0"
2323

24+
# Overwrite the x86_64 crate for both direct and indirect dependencies.
2425
[dependencies.x86_64]
2526
path = ".."
27+
[patch.crates-io]
28+
x86_64 = { path = ".." }
29+
2630

2731
[dependencies.lazy_static]
2832
version = "1.3.0"

0 commit comments

Comments
 (0)