File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ cd rust
1313
1414Afterwards you can build rustc using:
1515``` bash
16- ./x.py build --stage 1 library
16+ ./x build --stage 1 library
1717```
1818
1919Afterwards rustc toolchain link will allow you to use it through cargo:
@@ -25,10 +25,10 @@ rustup toolchain install nightly # enables -Z unstable-options
2525You can then run our test cases:
2626
2727``` bash
28- ./x.py test --stage 1 tests/codegen/autodiff
29- ./x.py test --stage 1 tests/pretty/autodiff
30- ./x.py test --stage 1 tests/ui/autodiff
31- ./x.py test --stage 1 tests/ui/feature-gates/feature-gate-autodiff.rs
28+ ./x test --stage 1 tests/codegen/autodiff
29+ ./x test --stage 1 tests/pretty/autodiff
30+ ./x test --stage 1 tests/ui/autodiff
31+ ./x test --stage 1 tests/ui/feature-gates/feature-gate-autodiff.rs
3232```
3333
3434Autodiff is still experimental, so if you want to use it in your own projects, you will need to add ` lto="fat" ` to your Cargo.toml
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ cd rust
1313
1414Afterwards you can build rustc using:
1515``` bash
16- ./x.py build --stage 1 library
16+ ./x build --stage 1 library
1717```
1818
1919Afterwards rustc toolchain link will allow you to use it through cargo:
@@ -40,7 +40,7 @@ This gives you a working LLVM build.
4040## Testing
4141run
4242```
43- ./x.py test --stage 1 tests/codegen/gpu_offload
43+ ./x test --stage 1 tests/codegen/gpu_offload
4444```
4545
4646## Usage
You can’t perform that action at this time.
0 commit comments