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
13
13
14
14
Afterwards you can build rustc using:
15
15
``` bash
16
- ./x.py build --stage 1 library
16
+ ./x build --stage 1 library
17
17
```
18
18
19
19
Afterwards rustc toolchain link will allow you to use it through cargo:
@@ -25,10 +25,10 @@ rustup toolchain install nightly # enables -Z unstable-options
25
25
You can then run our test cases:
26
26
27
27
``` 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
32
32
```
33
33
34
34
Autodiff 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
13
13
14
14
Afterwards you can build rustc using:
15
15
``` bash
16
- ./x.py build --stage 1 library
16
+ ./x build --stage 1 library
17
17
```
18
18
19
19
Afterwards rustc toolchain link will allow you to use it through cargo:
@@ -40,7 +40,7 @@ This gives you a working LLVM build.
40
40
## Testing
41
41
run
42
42
```
43
- ./x.py test --stage 1 tests/codegen/gpu_offload
43
+ ./x test --stage 1 tests/codegen/gpu_offload
44
44
```
45
45
46
46
## Usage
You can’t perform that action at this time.
0 commit comments