Skip to content
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

mir-json-rustc-wrapper produced linked MIR with too many dots in the file name #38

Closed
RyanGlScott opened this issue Apr 20, 2023 · 0 comments
Labels

Comments

@RyanGlScott
Copy link
Contributor

Because of this line:

let json_path = test_path.with_extension(".linked-mir.json");

Calling mir-json-rustc-wrapper on hello.rs will produce hello..linked-mir.json (notice the two consecutive dots). I think we should change the line above to with_extension("linked-mir.json"); to avoid this.

RyanGlScott added a commit that referenced this issue Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant