Skip to content

Commit e2056b1

Browse files
author
Thomas Bracht Laumann Jespersen
authored
Merge pull request #161 from orium/readme-stable
Add instructions to README on how to use compiletest on rust stable
2 parents e2cd645 + 32233f0 commit e2056b1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ To use `compiletest-rs` in your application, add the following to `Cargo.toml`
1717
compiletest_rs = "*"
1818
```
1919

20+
This will require you to use rust nightly. If you want to use rust stable
21+
set the feature `stable`:
22+
23+
```toml
24+
[dev-dependencies]
25+
compiletest_rs = { version = "*", features = [ "stable" ] }
26+
```
27+
2028
Create a `tests` folder in the root folder of your project. Create a test file
2129
with something like the following:
2230

0 commit comments

Comments
 (0)