Commit b4d7d0f
authored
Integrate rustfmt to generator (#9)
### Context
This PR follows the recommendation in Zulip of doing what `ash` does: ash-rs/ash#735
Zulip thread: [#rust > A plan for SIMD @ 💬](https://xi.zulipchat.com/#narrow/channel/255911-rust/topic/A.20plan.20for.20SIMD/near/524498629)
### Changes
The first commit contains the logic changes to the CLI. The second commit contains `rustfmt`.
- Added the missing `wasm` module such that running the CLI with no arguments regenerates WASM.
- Added some documentation to the CLI and piped through `rustfmt`.
- Ran the generator (getting formatted output).
- Formatted the entire codebase.
### Test plan
Manually ran CLI. No logic changes in the generator (just formatting).1 parent e46bcfd commit b4d7d0f
File tree
11 files changed
+684
-984
lines changed- fearless_simd_gen/src
- fearless_simd/src
- core_arch
- generated
11 files changed
+684
-984
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 20 | | |
23 | 21 | | |
| 22 | + | |
| 23 | + | |
0 commit comments