File tree 5 files changed +10
-10
lines changed
5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
[alias ]
2
2
xtask = " run --package xtask --"
3
3
4
- [target .x86_64-unknown-none-hermitkernel ]
4
+ [target .x86_64-unknown-none ]
5
5
runner = " tests/hermit_test_runner.py"
Original file line number Diff line number Diff line change 30
30
env :
31
31
RUSTDOCFLAGS : -D warnings
32
32
run : |
33
- cargo doc -Z build-std=core,alloc --package rusty-hermit --no-deps --document-private-items --target targets/ x86_64-unknown-none-hermitkernel.json
33
+ cargo doc -Z build-std=core,alloc --package rusty-hermit --no-deps --document-private-items --target x86_64-unknown-none
34
34
cargo doc -Z build-std=core,alloc --package rusty-hermit --no-deps --document-private-items --target targets/aarch64-unknown-none-hermitkernel.json
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ jobs:
21
21
sudo apt-get update
22
22
sudo apt-get install nasm
23
23
- name : Generate documentation
24
- run : cargo doc -Zbuild-std=core,alloc --target targets/ x86_64-unknown-none-hermitkernel.json --package rusty-hermit
24
+ run : cargo doc -Zbuild-std=core,alloc --target x86_64-unknown-none --package rusty-hermit
25
25
- name : Generate index.html
26
26
run : |
27
- cat > target/x86_64-unknown-none-hermitkernel /doc/index.html <<EOL
27
+ cat > target/x86_64-unknown-none/doc/index.html <<EOL
28
28
<!doctype html>
29
29
<html>
30
30
<head>
41
41
uses : crazy-max/ghaction-github-pages@v2
42
42
with :
43
43
target_branch : gh-pages
44
- build_dir : target/x86_64-unknown-none-hermitkernel /doc
44
+ build_dir : target/x86_64-unknown-none/doc
45
45
env :
46
46
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -59,10 +59,10 @@ test:integration:
59
59
- python3 --version
60
60
- HERMIT_LOG_LEVEL_FILTER=Debug cargo test --test '*' --no-fail-fast -Z build-std=core,alloc
61
61
-Z build-std-features=compiler-builtins-mem --no-default-features --features=pci,acpi
62
- --target targets/ x86_64-unknown-none-hermitkernel.json -- --veryverbose
62
+ --target x86_64-unknown-none -- --veryverbose
63
63
- HERMIT_LOG_LEVEL_FILTER=Debug cargo test --test '*' --no-fail-fast -Z build-std=core,alloc
64
64
-Z build-std-features=compiler-builtins-mem --no-default-features --features=pci,acpi
65
- --target targets/ x86_64-unknown-none-hermitkernel.json -- --num_cores 2
65
+ --target x86_64-unknown-none -- --num_cores 2
66
66
--veryverbose
67
67
tags :
68
68
- privileged
Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ rustup component add rust-src llvm-tools-preview
30
30
You can then build ` libhermit-rs ` with the following command
31
31
32
32
``` sh
33
- cargo build -Z build-std=core,alloc,panic_abort --target targets/ x86_64-unknown-none-hermitkernel.json
33
+ cargo xtask build --arch x86_64
34
34
```
35
35
36
- The resulting library then can be found in ` target/x86_64-unknown-none-hermitkernel /debug/libhermit.a `
36
+ The resulting library then can be found in ` target/x86_64/debug/libhermit.a `
37
37
38
38
39
39
### Control the kernel messages verbosity
@@ -44,7 +44,7 @@ You can change it by setting it at compile time to a string matching the name of
44
44
If the variable is not set, or the name doesn't match, then ` LevelFilter::Info ` is used by default.
45
45
46
46
``` sh
47
- $ HERMIT_LOG_LEVEL_FILTER=Debug cargo build -Z build-std=core,alloc,panic_abort --target targets/ x86_64-unknown-none-hermitkernel.json
47
+ $ HERMIT_LOG_LEVEL_FILTER=Debug cargo xtask build --arch x86_64
48
48
```
49
49
50
50
## Credits
You can’t perform that action at this time.
0 commit comments