Skip to content

Commit 069b884

Browse files
committed
Doc for support multitarget in config
1 parent 76055d2 commit 069b884

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/doc/src/reference/unstable.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,12 @@ or running tests for both targets:
235235
cargo test --target x86_64-unknown-linux-gnu --target i686-unknown-linux-gnu
236236
```
237237

238+
This can also be specified in `.cargo/config.toml` files.
239+
240+
```toml
241+
[build]
242+
target = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"]
243+
```
238244

239245
#### New `dir-name` attribute
240246

0 commit comments

Comments
 (0)