File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 33
33
#
34
34
$(src ) /rust/target/x86_64-linux-kernel/release/libflashbench.a : $(src ) /rust/Cargo.toml $(wildcard $(src ) /rust/src/* .rs)
35
35
cd $(src ) /rust && \
36
- env -u MAKE -u MAKEFLAGS cargo +nightly xbuild --release
36
+ env -u MAKE -u MAKEFLAGS cargo +nightly build --release
37
37
38
38
% .rust.o : rust/target/x86_64-linux-kernel/release/lib% .a
39
39
$(LD ) -r -o $@ --whole-archive $<
Original file line number Diff line number Diff line change 1
- [alias]
2
- xbuild = "build -Z build-std=core"
3
-
4
1
[build]
5
2
target = "x86_64-linux-kernel"
3
+
4
+ [unstable]
5
+ build-std = ["core"]
Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ Rust part of flashbench
2
2
========
3
3
4
4
``` bash
5
- # Use nightly as default toolchain in this directory
6
- rustup override set nightly
5
+ cargo +nightly build
7
6
8
- # xbuild is alias of `build -Z build-std=core`
9
- cargo xbuild
7
+ # You can set nightly as default rust toolchain in this project using rustup
8
+ rustup override set nightly
9
+ cargo build
10
10
```
11
11
12
12
### TODOs
You can’t perform that action at this time.
0 commit comments