Skip to content

Error building rustc on M1 MacBook #198

@TheDeveloper101

Description

@TheDeveloper101

I was building rustc to work on autodiff, and followed the process mentioned here: https://rustc-dev-guide.rust-lang.org/autodiff/installation.html.

I expected to see this happen: when I ran the ./x.py build --stage 1 library command I expected the build to succeed.

Instead, this happened: when it was building gsl, it gave me an error that it could not find math.h, and the build failed.

Did not provide a backtrace since it took over an hour to reach this point on my machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions