-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
update miri #74146
update miri #74146
Conversation
@bors r+ |
📌 Commit eb268380f3326ed33e34605b5fd80d74d806d20e has been approved by |
🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened |
@bors r- |
@bors r+ |
📌 Commit 512f9e9 has been approved by |
update miri Fixes rust-lang#74132 Cc @rust-lang/miri r? @ghost
update miri Fixes rust-lang#74132 Cc @rust-lang/miri r? @ghost
Wtf. "The filename, directory name, or volume label syntax is incorrect."? On Windows only? I have no way of debugging that.^^ I assume it is caused by rust-lang/miri#1469 but why would |
@rustbot ping windows |
Hey Windows Group! This bug has been identified as a good "Windows candidate". cc @arlosi @danielframpton @gdr-at-ms @kennykerr @luqmana @lzybkr @retep998 @rylev @sivadeilra @spastorino |
I continue to advocate for the addition of a better API to turn relative paths into absolute paths. |
Any advice for what to do instead? The reason we need this is that Miri changes the working directory before invoking xargo, so to pass relative paths to xargo we have to make them absolute first. The path having to exist is fine here. |
The correct way to turn a relative path into an absolute path on Windows is Ways to possibly fix it while still using
|
I see, thanks. So japaric/xargo#297 should help on the xargo side. But I have no idea if this is sufficient, and I cannot test this, so I think I'll also add a hack on the Miri side to strip the |
@bors r+ |
📌 Commit 81e4805df28013cddb633167a9556e1301daf6c3 has been approved by |
@bors r+ |
📌 Commit 35fae73 has been approved by |
update miri Fixes rust-lang#74132 Cc @rust-lang/miri r? @ghost
update miri Fixes rust-lang#74132 Cc @rust-lang/miri r? @ghost
…arth Rollup of 14 pull requests Successful merges: - rust-lang#73292 (Fixing broken link for the Eq trait) - rust-lang#73791 (Allow for parentheses after macro intra-doc-links) - rust-lang#74070 ( Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>.) - rust-lang#74077 (Use relative path for local links to primitives) - rust-lang#74079 (Eliminate confusing "globals" terminology.) - rust-lang#74107 (Hide `&mut self` methods from Deref in sidebar if there are no `DerefMut` impl for the type.) - rust-lang#74136 (Fix broken link in rustdocdoc) - rust-lang#74137 (Update cargo) - rust-lang#74142 (Liballoc use vec instead of vector) - rust-lang#74143 (Try remove unneeded ToString import in liballoc slice) - rust-lang#74146 (update miri) - rust-lang#74150 (Avoid "blacklist") - rust-lang#74184 (Add docs for intra-doc-links) - rust-lang#74188 (Tweak `::` -> `:` typo heuristic and reduce verbosity) Failed merges: - rust-lang#74122 (Start-up clean-up) - rust-lang#74127 (Avoid "whitelist") r? @ghost
I have fixed the cases of adding It would be great if someone with a way to build rustc on Windows could checkout https://github.com/RalfJung/rust/tree/miri and run |
With miri at eee22ff it's tests pass on native windows-gnu. |
Did you run them via |
Yeah using the command you have provided. |
That's great, thanks a lot :) |
update miri This incorporates rust-lang/miri#1474. [Last time](rust-lang#74146) that change caused trouble but I fixed xargo since then and [now it should work](rust-lang#74146 (comment)). Cc @rust-lang/miri r? @ghost
update miri This incorporates rust-lang/miri#1474. [Last time](rust-lang#74146) that change caused trouble but I fixed xargo since then and [now it should work](rust-lang#74146 (comment)). Cc @rust-lang/miri r? @ghost
For future reference on making paths absolute vs canonicalize: #59117 |
Fixes #74132
Cc @rust-lang/miri r? @ghost