Skip to content

adding support for CC/CXX/CFLAGS broke freebsd builds #14381

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

Closed
pnkfelix opened this issue May 23, 2014 · 0 comments
Closed

adding support for CC/CXX/CFLAGS broke freebsd builds #14381

pnkfelix opened this issue May 23, 2014 · 0 comments

Comments

@pnkfelix
Copy link
Member

Forked off from @alexcrichton comments here on PR 1382 which I am transcribing below:

I just noticed today, but this appears to have caused the freebsd build to break. (see http://buildbot.rust-lang.org/builders/auto-bsd-64-opt for the list).

It looks like it's attempting to use g++ to compile our LLVM glue, when g++ doesn't exist. The weird part is that the configure script picked up clang++ and exported it!

flip1995 pushed a commit to flip1995/rust that referenced this issue Apr 3, 2025
…4381)

When lowering a destructuring assignment from AST to HIR, the compiler
will reuse the same identifier name (namely `sym::lhs`) for all the
fields. The desugaring must be checked for to avoid a false positive of
the `shadow_unrelated` lint.

Fix rust-lang#10279
Fix rust-lang#14377

changelog: [`shadow_unrelated`]: prevent false positive in destructuring
assignments
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

No branches or pull requests

2 participants