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

fix: Update notify to 8.0.0 #18933

Merged
merged 1 commit into from
Jan 14, 2025
Merged

fix: Update notify to 8.0.0 #18933

merged 1 commit into from
Jan 14, 2025

Conversation

decahedron1
Copy link
Contributor

@decahedron1 decahedron1 commented Jan 14, 2025

Fixes #18932 by updating the notify crate to v8.0, which fixed UB on Windows that resulted in a STATUS_ILLEGAL_INSTRUCTION in certain workspaces when rust-analyzer was compiled in release mode.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 14, 2025
@lnicola
Copy link
Member

lnicola commented Jan 14, 2025

Thanks! The CI fails because of this license check.

But I think we should go directly to 8.0 if we're upgrading.

@decahedron1 decahedron1 changed the title fix: Update notify to 7.0.0 fix: Update notify to 8.0.0 Jan 14, 2025
@lnicola
Copy link
Member

lnicola commented Jan 14, 2025

Oh, did they change the license again in 8.0?

@lnicola lnicola enabled auto-merge January 14, 2025 07:36
@decahedron1
Copy link
Contributor Author

v7 had a dependency on the instant crate (BSD-3) on WASM, which was replaced with web-time (MIT/Apache-2.0) in v8.

@lnicola lnicola added this pull request to the merge queue Jan 14, 2025
Merged via the queue into rust-lang:master with commit 4fbd908 Jan 14, 2025
9 checks passed
@lnicola
Copy link
Member

lnicola commented Jan 14, 2025

@decahedron1 just to be sure, did this fix your crash in #18932?

@decahedron1
Copy link
Contributor Author

Yep! (also, for that issue, I did have "rust-analyzer.files.watcher": "server" set)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Server process exited with code 3221225501 after 0.4.2216
3 participants