File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -52,16 +52,20 @@ features = ["c"]
52
52
## Contributing
53
53
54
54
1 . Pick one or more intrinsics from the [ pending list] ( #progress ) .
55
- 2 . Fork this repository
56
- 3 . Port the intrinsic(s) and their corresponding [ unit tests] [ 1 ] from their [ C implementation] [ 2 ] to
57
- Rust.
58
- 4 . Send a Pull Request (PR)
59
- 5 . Once the PR passes our extensive [ testing infrastructure] [ 3 ] , we'll merge it!
55
+ 2 . Fork this repository.
56
+ 3 . Port the intrinsic(s) and their corresponding [ unit tests] [ 1 ] from their
57
+ [ C implementation] [ 2 ] to Rust.
58
+ 4 . Implement a [ test generator] [ 3 ] to compare the behavior of the ported intrinsic(s)
59
+ with their implementation on the testing host. Note that randomized compiler-builtin tests
60
+ should be run using ` cargo test --features gen-tests ` .
61
+ 4 . Send a Pull Request (PR).
62
+ 5 . Once the PR passes our extensive [ testing infrastructure] [ 4 ] , we'll merge it!
60
63
6 . Celebrate :tada :
61
64
62
65
[ 1 ] : https://github.com/rust-lang/compiler-rt/tree/8598065bd965d9713bfafb6c1e766d63a7b17b89/test/builtins/Unit
63
66
[ 2 ] : https://github.com/rust-lang/compiler-rt/tree/8598065bd965d9713bfafb6c1e766d63a7b17b89/lib/builtins
64
- [ 3 ] : https://travis-ci.org/rust-lang-nursery/compiler-builtins
67
+ [ 3 ] : https://github.com/rust-lang-nursery/compiler-builtins/blob/0ba07e49264a54cb5bbd4856fcea083bb3fbec15/build.rs#L180-L265
68
+ [ 4 ] : https://travis-ci.org/rust-lang-nursery/compiler-builtins
65
69
66
70
### Porting Reminders
67
71
You can’t perform that action at this time.
0 commit comments