Skip to content

Commit b8d2b34

Browse files
Sdoba16LesterEvSe
authored andcommitted
Add unstable features docs
1 parent 822af47 commit b8d2b34

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

doc/unstable-features.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Unstable features
2+
3+
Unstable features are experimental compiler capabilities. They may change
4+
or be removed before stabilization.
5+
6+
## Viewing available unstable features
7+
8+
Run `simc --help`; the features are listed under the `-Z` flag.
9+
10+
## Enabling an unstable feature
11+
12+
Pass `-Z <feature-name>` to `simc`.
13+
14+
## Adding or stabilizing a feature
15+
16+
See the rustdoc on `UnstableFeature` in `src/unstable.rs`; the procedures
17+
live next to the code they mutate, so they cannot drift.

0 commit comments

Comments
 (0)