File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ $ cargo +nightly test
12
12
To run codegen tests, run in release mode:
13
13
14
14
```
15
- $ cargo +nightly test --release
15
+ $ cargo +nightly test --release -p coresimd
16
16
```
17
17
18
18
Remember that this repository requires the nightly channel of Rust! If any of
@@ -55,13 +55,13 @@ to ensure your example works as expected.
55
55
/// # // Create a `worker` function that will only be run if the target feature
56
56
/// # // is supported and ensure that `target_feature` is enabled for your worker
57
57
/// # // function
58
- /// # #[target_feature = "+ <target feature>"]
59
- /// # fn worker() {
58
+ /// # #[target_feature(enable = "<target feature>") ]
59
+ /// # unsafe fn worker() {
60
60
///
61
61
/// // Write your example here. Feature specific intrinsics will work here! Go wild!
62
62
///
63
63
/// # }
64
- /// # worker();
64
+ /// # unsafe { worker(); }
65
65
/// # }
66
66
/// # }
67
67
```
You can’t perform that action at this time.
0 commit comments