Directly map each ExternAbi variant to its string and back again. This has a few advantages: - By making the ABIs compare equal to their strings, we can easily lexicographically sort them and use that sorted slice at runtime. - We no longer need a workaround to make sure the hashes remain stable, as they already naturally are (by being the hashes of unique strings). - The compiler can carry around less &str wide pointers |
||
|---|---|---|
| .. | ||
| args.rs | ||
| lib.rs | ||
| pretty.rs | ||
| print.rs | ||
| session_diagnostics.rs | ||
| signal_handler.rs | ||