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

Uplift *.dSYM #4616

Merged
merged 1 commit into from Oct 14, 2017
Merged

Uplift *.dSYM #4616

merged 1 commit into from Oct 14, 2017

Conversation

kennytm
Copy link
Member

@kennytm kennytm commented Oct 13, 2017

Fixed #4490.

The solution is based on #4570. Simply adding .dSYM into add_target_specific_suffixes will cause cargo trying to actually run that .dSYM folder, so I've upgraded the linkable boolean into a 3-value enum TargetFileType, to tell cargo run and cargo test to avoid these debug symbol files.

(I haven't checked if it can solve #4056, don't wanna mess with Spotlight 😝)

@rust-highfive
Copy link

r? @matklad

(rust_highfive has picked a reviewer for you, use r? to override)

@matklad
Copy link
Member

matklad commented Oct 13, 2017

r? @alexcrichton

@alexcrichton
Copy link
Member

@bors: r+

Awesome, thanks!

@bors
Copy link
Collaborator

bors commented Oct 14, 2017

📌 Commit dfd964a has been approved by alexcrichton

@bors
Copy link
Collaborator

bors commented Oct 14, 2017

⌛ Testing commit dfd964a with merge c1dd25a...

bors added a commit that referenced this pull request Oct 14, 2017
Uplift *.dSYM

Fixed #4490.

The solution is based on #4570. Simply adding `.dSYM` into `add_target_specific_suffixes` will cause cargo trying to actually run that `.dSYM` folder, so I've upgraded the `linkable` boolean into a 3-value enum `TargetFileType`, to tell `cargo run` and `cargo test` to avoid these debug symbol files.

(I haven't checked if it can solve #4056, don't wanna mess with Spotlight 😝)
@bors
Copy link
Collaborator

bors commented Oct 14, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing c1dd25a to master...

@bors bors merged commit dfd964a into rust-lang:master Oct 14, 2017
@kennytm kennytm deleted the fix-4490 branch October 14, 2017 15:51
bors added a commit that referenced this pull request Nov 22, 2017
[beta] When uplifting directories, symlink them instead of hard-link them.

Backport of #4672 to 1.22 (cargo 0.23)

The current stable RC (cee38cd) contains #4616 *but not* #4672. Without the latter it is known to cause #4671 on APFS (enabled by default on macOS 10.13 "High Sierra").

The issue was found by kpy3 on https://internals.rust-lang.org/t/rust-1-22-0-prerelease-testing/6282/2.
@ehuss ehuss added this to the 1.22.0 milestone Feb 6, 2022
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.

Line numbers in backtrace still do not appear on macOS for Cargo projects
6 participants