New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove uses of unicode in Rust files #12687
base: main
Are you sure you want to change the base?
Conversation
⏱️ 3h 40m total CI duration on this PR
🚨 1 job on the last run was significantly faster/slower than expected
|
"some editors" |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #12687 +/- ##
===========================================
- Coverage 69.2% 62.6% -6.6%
===========================================
Files 2293 819 -1474
Lines 436530 183551 -252979
===========================================
- Hits 302391 115053 -187338
+ Misses 134139 68498 -65641 ☔ View full report in Codecov by Sentry. |
LGTM @brmataptos 😄 Note: you'll need to rebase (#12690 was just landed) and update the failing tests/jobs above. Once you've done that, I can approve and we should be good to land. |
…s, that may have lint issues
624dce8
to
d11623f
Compare
"Rust input is interpreted as a sequence of Unicode code points encoded in UTF-8." |
Buy me a Linux machine to work on and I'll pay attention to your noise. Forced to use a Mac, we all have to make concessions to the inadequate tooling. |
Description
Fix #12671 by making all Rust source files plain ASCII. This will make some editors happier.
This is staged in 5 commits to facilitate review:
Type of Change
Which Components or Systems Does This Change Impact?
How Has This Been Tested?
CI, thorough review, use of scripts to double- and triple-check that most changes only affect copyright messages.
Key Areas to Review
The final commit is nontrivial changes. Most are comments only (including
ASCII art, which I've gone to some pains to preserve), but:
Changes to some files may affect program outputs:
aptos-move/aptos-gas-calibration/src/solve.rs
network/benchmark/src/lib.rs
A few affect technical documentation and conceivably might be less intelligible:
third_party/move/move-examples/diem-framework/crates/crypto/src/unit_tests/ed25519_test.rs
third_party/move/move-ir-compiler/move-ir-to-bytecode/syntax/src/lib.rs
storage/jellyfish-merkle/src/node_type/mod.rs
These have changes that might affect tests
third_party/move/tools/move-unit-test/tests/move_unit_test_testsuite.rs
third_party/move/tools/move-unit-test/src/test_reporter.rs
third_party/move/move-core/types/src/unit_tests/value_test.rs
types/src/network_address/mod.rs
Checklist