GithubHelp home page GithubHelp logo

Comments (6)

RalfJung avatar RalfJung commented on June 11, 2024

I probably can't help much with your actual problem, but...

A challenge here is that the temporary Cargo.toml gets cleaned up xargo.

you can set XARGO_KEEP_TEMP to disable the cleanup.

It sounds like there might be a compiler_builtins but the crate does not exist for this architecture, or cannot be found in the sysroot source?

from xargo.

littlebenlittle avatar littlebenlittle commented on June 11, 2024

Looks like compiler_builtins is installed by default.

It seems strange that cargo is complaining that the version isn't specified.

It sounds like there might be a compiler_builtins but the crate does not exist for this architecture, or cannot be found in the sysroot source?

How can I check what's in the sysroot for my build?

from xargo.

Am3ra avatar Am3ra commented on June 11, 2024

hmm, getting the same issue with a new project, almost empty, and have no Idea why.

For reference, these are the steps I'm taking to reproduce:

https://wiki.osdev.org/Raspberry_Pi_Bare_Bones_Rust

from xargo.

RalfJung avatar RalfJung commented on June 11, 2024

The same error also appears in #321 during CI, so there's definitely some rustc/cargo change that happened here. But I won't have time to look into this for now... help would be much appreciated!

from xargo.

a-nickol avatar a-nickol commented on June 11, 2024

Is it because of the missing source for compiler_builtins in rust-src? I am not sure if it had been there before.

ln ~/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/library there is no compiler_builtins folder.

By adding git = "https://github.com/rust-lang/compiler-builtins" to the Cargo.toml of the problematic build, the problem is fixed.

from xargo.

a-nickol avatar a-nickol commented on June 11, 2024

I created a patch that adds the git reference, but I'm not sure what the previous behavior was.

from xargo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.