We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 941968d commit 079a0ddCopy full SHA for 079a0dd
src/codegen/debugging.md
@@ -40,7 +40,7 @@ hard to replicate manually and means that LLVM is called multiple times in
40
parallel. If you can get away with it (i.e. if it doesn't make your bug
41
disappear), passing `-C codegen-units=1` to rustc will make debugging easier.
42
43
-To rustc to generate LLVM IR, you need to pass the `--emit=llvm-ir` flag. If
+For rustc to generate LLVM IR, you need to pass the `--emit=llvm-ir` flag. If
44
you are building via cargo, use the `RUSTFLAGS` environment variable (e.g.
45
`RUSTFLAGS='--emit=llvm-ir'`). This causes rustc to spit out LLVM IR into the
46
target directory.
0 commit comments