Skip to content

Commit 8a56707

Browse files
committed
Fix for new Rust Linux kernel target - closes #11
1 parent 059d6bd commit 8a56707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ clean:
1818
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
1919

2020
src/rust.o: Cargo.toml src/ffi.c src/lib.rs src/macros.rs src/mutex.rs src/parrot.rs
21-
xargo rustc --release --target=x86_64-linux-kernel
21+
xargo rustc --release --target=x86_64-unknown-none-linuxkernel
2222
mkdir -p rust_objs
23-
cd rust_objs && ar x ../target/x86_64-linux-kernel/release/librust.a
23+
cd rust_objs && ar x ../target/x86_64-unknown-none-linuxkernel/release/librust.a
2424
ld -r -o src/rust.o rust_objs/*.o

0 commit comments

Comments
 (0)