Skip to content

Commit acda101

Browse files
committed
Update CONTRIBUTING.md with recent changes
1 parent 684aeba commit acda101

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $ cargo +nightly test
1212
To run codegen tests, run in release mode:
1313

1414
```
15-
$ cargo +nightly test --release
15+
$ cargo +nightly test --release -p coresimd
1616
```
1717

1818
Remember that this repository requires the nightly channel of Rust! If any of
@@ -55,13 +55,13 @@ to ensure your example works as expected.
5555
/// # // Create a `worker` function that will only be run if the target feature
5656
/// # // is supported and ensure that `target_feature` is enabled for your worker
5757
/// # // function
58-
/// # #[target_feature = "+<target feature>"]
59-
/// # fn worker() {
58+
/// # #[target_feature(enable = "<target feature>")]
59+
/// # unsafe fn worker() {
6060
///
6161
/// // Write your example here. Feature specific intrinsics will work here! Go wild!
6262
///
6363
/// # }
64-
/// # worker();
64+
/// # unsafe { worker(); }
6565
/// # }
6666
/// # }
6767
```

0 commit comments

Comments
 (0)