File tree 2 files changed +229
-74
lines changed
2 files changed +229
-74
lines changed Original file line number Diff line number Diff line change @@ -52,17 +52,17 @@ features = ["c"]
52
52
2 . Fork this repository.
53
53
3 . Port the intrinsic(s) and their corresponding [ unit tests] [ 1 ] from their
54
54
[ 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 :
61
62
62
63
[ 1 ] : https://github.com/rust-lang/llvm-project/tree/9e3de9490ff580cd484fbfa2908292b4838d56e7/compiler-rt/test/builtins/Unit
63
64
[ 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
66
66
67
67
### Porting Reminders
68
68
You can’t perform that action at this time.
0 commit comments