Skip to content

don't say compromise#17019

Merged
bors merged 1 commit intorust-lang:masterfrom
steveklabnik:remove_compromise
Sep 7, 2014
Merged

don't say compromise#17019
bors merged 1 commit intorust-lang:masterfrom
steveklabnik:remove_compromise

Conversation

@steveklabnik
Copy link
Contributor

@dherman doesn't like it 😄

@dherman doesn't like it 😄
bors added a commit that referenced this pull request Sep 7, 2014
@bors bors closed this Sep 7, 2014
@bors bors merged commit d929d83 into rust-lang:master Sep 7, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Apr 20, 2024
Previously PRs would only do a build on Windows, which confusingly
meant that PRs got a green tick for Windows despite not testing them.

See discussion in rust-lang#17019.
lnicola pushed a commit to lnicola/rust that referenced this pull request Apr 20, 2024
Run Windows tests on PRs too

Previously PRs would only do a build on Windows, which confusingly meant that PRs got a green tick for Windows despite not testing them.

See discussion in rust-lang#17019.
lnicola pushed a commit to lnicola/rust that referenced this pull request Apr 20, 2024
fix: VFS should not confuse paths with source roots that have the same prefix

Previously, the VFS would assign paths to the source root that had the longest string prefix match. This would break when we had source roots in subdirectories:

```
/foo
/foo/bar
```

Given a file `/foo/bar_baz.rs`, we would attribute it to the `/foo/bar` source root, which is wrong.

As a result, we would attribute paths to the wrong crate when a crate was in a subdirectory of another one. This is more common in larger monorepos, but could occur in any Rust project.

Fix this in the VFS, and add a test.
lnicola pushed a commit to lnicola/rust that referenced this pull request Apr 20, 2024
Previously PRs would only do a build on Windows, which confusingly
meant that PRs got a green tick for Windows despite not testing them.

See discussion in rust-lang#17019.
lnicola pushed a commit to lnicola/rust that referenced this pull request Apr 20, 2024
Run Windows tests on PRs too

Previously PRs would only do a build on Windows, which confusingly meant that PRs got a green tick for Windows despite not testing them.

See discussion in rust-lang#17019.
lnicola pushed a commit to lnicola/rust that referenced this pull request Apr 20, 2024
fix: VFS should not confuse paths with source roots that have the same prefix

Previously, the VFS would assign paths to the source root that had the longest string prefix match. This would break when we had source roots in subdirectories:

```
/foo
/foo/bar
```

Given a file `/foo/bar_baz.rs`, we would attribute it to the `/foo/bar` source root, which is wrong.

As a result, we would attribute paths to the wrong crate when a crate was in a subdirectory of another one. This is more common in larger monorepos, but could occur in any Rust project.

Fix this in the VFS, and add a test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants