We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a56707 commit 7bd8f6cCopy full SHA for 7bd8f6c
Makefile
@@ -6,19 +6,19 @@ all: src/rust.o
6
7
.PHONY:
8
fmt:
9
- xargo fmt
+ cargo fmt
10
11
12
clippy:
13
- xargo clippy
+ cargo clippy
14
15
clean:
16
cargo clean
17
rm -rf rust_objs
18
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
19
20
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-unknown-none-linuxkernel
+ cargo rustc --release -Z build-std=core,alloc --target=x86_64-unknown-none-linuxkernel
22
mkdir -p rust_objs
23
cd rust_objs && ar x ../target/x86_64-unknown-none-linuxkernel/release/librust.a
24
ld -r -o src/rust.o rust_objs/*.o
0 commit comments