Skip to content

Commit ce4afba

Browse files
committed
Force use of the parent directory for indirect dependancies
Signed-off-by: Joe Richey <joerichey@google.com>
1 parent 13146c3 commit ce4afba

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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)