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

can't build rust on mac with xcode 5 developer preview as the selected xcode #7215

Closed
cartazio opened this issue Jun 18, 2013 · 6 comments
Closed
Labels
O-macos Operating system: macOS

Comments

@cartazio
Copy link
Contributor

see this info on the related brew ticket Homebrew/legacy-homebrew#20585

somehow even though i have a vanilla build of llvm / clang in my path, rust's build process is picking up the apple one instead...

@mistydemeo
Copy link

somehow even though i have a vanilla build of llvm / clang in my path, rust's build process is picking up the apple one instead...

Note that that isn't a Rust bug - Homebrew always uses Apple's compilers.

The specific issue from Rust's configure script:

configure: error: bad CLANG version: 5.0, need >=3.0svn

It looks like the compiler version check doesn't recognize Xcode 5's clang. The code from configure:

    case $CFG_CLANG_VERSION in
        (3.0svn | 3.0 | 3.1* | 3.2* | 3.3* | 3.4* )
        step_msg "found ok version of CLANG: $CFG_CLANG_VERSION"
        CFG_C_COMPILER="clang"
        ;;
        (*)
        err "bad CLANG version: $CFG_CLANG_VERSION, need >=3.0svn"
        ;;
    esac

@mistydemeo
Copy link

Ah, looks like this was fixed in bf57d65.

@bblum
Copy link
Contributor

bblum commented Jul 29, 2013

Can someone on mac confirm this is fixed, and close if so?

@cartazio
Copy link
Contributor Author

is the mac dev center back online for downloading updates? (switching between the 4.6 and 5 cli tools is problematical for me unless thats back online)

@mistydemeo
Copy link

The downloads are back, yes.

At any rate, I'm pretty sure this was fixed in bf57d65, so the issue can be closed.

@thestinger
Copy link
Contributor

This is now fixed.

flip1995 pushed a commit to flip1995/rust that referenced this issue May 20, 2021
Trigger [`wrong_self_convention`] only if it has implicit self

Lint [`wrong_self_convention`] only if the impl or trait has `self` _per sé_.

Fixes: rust-lang#7179

changelog: trigger [`wrong_self_convention`] only if it has implicit self
flip1995 pushed a commit to flip1995/rust that referenced this issue May 20, 2021
Add sized trait for `wrong_self_convention` lint test

This has been solved a few hours ago by rust-lang#7215 😉

Fixes: rust-lang#7219

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-macos Operating system: macOS
Projects
None yet
Development

No branches or pull requests

4 participants