Skip to content

Commit 31660ac

Browse files
Sylvester Hespeddyb
authored andcommitted
More typo fixes
Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
1 parent 53e0c1c commit 31660ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/codegen-args.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $ file postlink/*
2727
postlink/module: Khronos SPIR-V binary, little-endian, version 0x010300, generator 0x1b0000
2828
```
2929

30-
Notable, `RUSTGPU_CODEGEN_ARGS="--help"` can be used to see a "usage" message (which lists all the flags/options, including onesn not listed in this document), via e.g. running a Cargo build that relies on `spirv-builder`.
30+
Notably, `RUSTGPU_CODEGEN_ARGS="--help"` can be used to see a "usage" message (which lists all the flags/options, including ones not listed in this document), via e.g. running a Cargo build that relies on `spirv-builder`.
3131

3232
However, it's only a convenient alias for for `RUSTGPU_RUSTFLAGS=-Cllvm-args="..."` (without having to expose the fact that LLVM's name is still attached to `rustc`'s interface for this functionality), and if in direct control of `rustc`, you can still pass such "codegen args" flags/options wrapped in `-C llvm-args="..."`.
3333

0 commit comments

Comments
 (0)