Auto merge of #2413 - RalfJung:norm, r=RalfJung

normalize stronger

rustc CI has the cargo stuff in `/cargo/...`, so we also need to handle that path.
This commit is contained in:
bors 2022-07-21 19:37:34 +00:00
commit dac1676eb3
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ regexes! {
// erase platform file paths
"sys/[a-z]+/" => "sys/PLATFORM/",
// erase paths into the crate registry
r"[^ ]*/\.cargo/registry/.*/(.*\.rs)" => "CARGO_REGISTRY/$1",
r"[^ ]*/\.?cargo/registry/.*/(.*\.rs)" => "CARGO_REGISTRY/.../$1",
}
fn ui(mode: Mode, path: &str) -> Result<()> {

View File

@ -1,5 +1,5 @@
error: unsupported operation: can't call foreign function: epoll_create1
--> CARGO_REGISTRY/epoll.rs:LL:CC
--> CARGO_REGISTRY/.../epoll.rs:LL:CC
|
LL | syscall!(epoll_create1(flag)).map(|ep| Selector {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't call foreign function: epoll_create1