-
Notifications
You must be signed in to change notification settings - Fork 684
Conversation
support windows benchmarking
@wrwg transfered |
After discussing it, we will look at a PR for unicode characters in comments, but will not be accepting anything at this time that allows |
Just curious: if only the specific Windows sequence \r\n would be accepted, but not a standalone \r, wouldn't that solve the security problem? It appears pretty restrictive to not allow Move on native Windows. |
T
That solution sounds reasonable to me, but I don't have the right context on the parser to understand how easy it is to do this. @LemonHX : would you mind de-scoping this PR to the parser change only (i.e., move the benchmarking code to a separate PR?) |
@sblackshear I will do that |
@wrwg so we could add to our documentation that if you are windows user please config your git before generating any move file |
@wrwg \r is used in native mac... |
... and we will not allow it if it is used. We only allow regular ascii files, where lines can be separated either with \n (mac) or \r\n (windows). I think this is very easy to add to the lexer. |
Superseded by #90 |
…eset [move-vm] allow gas metering to be customized
Introduce Move source to LLVM IR tests
support windows benchmarking
Motivation
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/diem/diem/tree/main/developers.diem.com, and link to your PR here.)
If targeting a release branch, please fill the below out as well