Skip to content

Commit 30f4071

Browse files
authored
Merge pull request #619 from tgross35/update-intrinsics
Update examples/intrinsics.rs
2 parents 857ad00 + 4f4443f commit 30f4071

File tree

2 files changed

+229
-74
lines changed

2 files changed

+229
-74
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@ features = ["c"]
5252
2. Fork this repository.
5353
3. Port the intrinsic(s) and their corresponding [unit tests][1] from their
5454
[C implementation][2] to Rust.
55-
4. Implement a [test generator][3] to compare the behavior of the ported intrinsic(s)
56-
with their implementation on the testing host. Note that randomized compiler-builtin tests
57-
should be run using `cargo test --features gen-tests`.
58-
4. Send a Pull Request (PR).
59-
5. Once the PR passes our extensive [testing infrastructure][4], we'll merge it!
60-
6. Celebrate :tada:
55+
4. Add a test to compare the behavior of the ported intrinsic(s) with their
56+
implementation on the testing host.
57+
5. Add the intrinsic to `examples/intrinsics.rs` to verify it can be linked on
58+
all targets.
59+
6. Send a Pull Request (PR).
60+
7. Once the PR passes our extensive [testing infrastructure][4], we'll merge it!
61+
8. Celebrate :tada:
6162

6263
[1]: https://github.com/rust-lang/llvm-project/tree/9e3de9490ff580cd484fbfa2908292b4838d56e7/compiler-rt/test/builtins/Unit
6364
[2]: https://github.com/rust-lang/llvm-project/tree/9e3de9490ff580cd484fbfa2908292b4838d56e7/compiler-rt/lib/builtins
64-
[3]: https://github.com/rust-lang/compiler-builtins/blob/0ba07e49264a54cb5bbd4856fcea083bb3fbec15/build.rs#L180-L265
65-
[4]: https://github.com/rust-lang/compiler-builtins/actions
65+
[3]: https://github.com/rust-lang/compiler-builtins/actions
6666

6767
### Porting Reminders
6868

0 commit comments

Comments
 (0)