Skip to content

libcore: Remove ptr::mut_addr_of since &mut is coerced to *mut - #4937

Closed
luqmana wants to merge 2 commits into
rust-lang:incomingfrom
luqmana:remove-mut-addr-of
Closed

libcore: Remove ptr::mut_addr_of since &mut is coerced to *mut#4937
luqmana wants to merge 2 commits into
rust-lang:incomingfrom
luqmana:remove-mut-addr-of

Conversation

@luqmana

@luqmana luqmana commented Feb 15, 2013

Copy link
Copy Markdown
Contributor

No description provided.

@catamorphism

Copy link
Copy Markdown
Contributor

Yay for removing code! Thanks!

@luqmana

luqmana commented Feb 15, 2013

Copy link
Copy Markdown
Contributor Author

Should've tested with mac as well it seems. Anyways it compiles now and I've rebased on incoming.

@bors bors closed this Feb 15, 2013
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
4937: Allow overriding rust-analyzer display version r=matklad a=oxalica

The build script invokes `git` for version information which is displayed when rust-analyzer is called with `--version`. But in build environment without `git` or when the source code is not a git repo, there's no way to manually specify the version information.

This patch respects environment variable ~`REV`~ `RUST_ANALYZER_REV` in compile time for overriding.

Related: NixOS/nixpkgs#90976

Co-authored-by: oxalica <oxalicc@pm.me>
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.

3 participants