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: docs/build.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@ Command | Description
59
59
Rust: Set Cargo Target | Set the Cargo target (`--lib`, `--example foo`, etc.) for each build variant. The "Automatic Detection" option will attempt to determine which target to use based on the current active view in Sublime (a test file will use `--test` or a binary will use `--bin`, etc.).
60
60
Rust: Set Cargo Build Profile | Set whether or not to use the `--release` flag.
61
61
Rust: Set Cargo Target Triple | Set the target triple (such as `x86_64-apple-darwin`).
62
+
Rust: Set Cargo Features | Set the Cargo build features to use.
62
63
Rust: Set Cargo Toolchain | Set the Rust toolchain to use (`nightly`, `beta`, etc.). Use the Targets > "All Targets" to set globally.
63
64
64
65
Caution: If you have not created a `sublime-project` file, then any changes
@@ -117,6 +118,8 @@ Setting Name | Description
117
118
`target_triple` | If set, uses the `--target` flag with the given value.
118
119
`toolchain` | The Rust toolchain to use (such as `nightly` or `beta`).
119
120
`target` | The Cargo target (such as `"--bin myprog"`). Applies to `variants` only. Can be `"auto"` (see "Set Cargo Target" above).
121
+
`no_default_features` | If True, sets the `--no-default-features` flag.
122
+
`features` | A string with a space separated list of features to pass to the `--features` flag. Set to "ALL" to pass the `--all-features` flag.
120
123
`extra_cargo_args` | Extra arguments passed to Cargo (before the `--` flags separator).
121
124
`extra_run_args` | Extra arguments passed to Cargo (after the `--` flags separator).
0 commit comments