You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -77,12 +77,16 @@ $ ./test.sh --release
77
77
78
78
## Usage
79
79
80
-
`$cg_gccjit_dir` is the directory you cloned this repo into in the following instructions.
80
+
`$CG_GCCJIT_DIR` is the directory you cloned this repo into in the following instructions:
81
+
82
+
```bash
83
+
export CG_GCCJIT_DIR=[the full path to rustc_codegen_gcc]
84
+
```
81
85
82
86
### Cargo
83
87
84
88
```bash
85
-
$ CHANNEL="release"$cg_gccjit_dir/cargo.sh run
89
+
$ CHANNEL="release"$CG_GCCJIT_DIR/cargo.sh run
86
90
```
87
91
88
92
If you compiled cg_gccjit in debug mode (aka you didn't pass `--release` to `./test.sh`) you should use `CHANNEL="debug"` instead or omit `CHANNEL="release"` completely.
@@ -92,7 +96,7 @@ If you compiled cg_gccjit in debug mode (aka you didn't pass `--release` to `./t
0 commit comments