GithubHelp home page GithubHelp logo

xargo doesn't work with cranelift about xargo HOT 7 OPEN

jyn514 avatar jyn514 commented on June 11, 2024
xargo doesn't work with cranelift

from xargo.

Comments (7)

jyn514 avatar jyn514 commented on June 11, 2024

Maybe this is actually an x.py bug, since the folder is in stage1 and not stage0-sysroot? Not sure where to report it.

from xargo.

RalfJung avatar RalfJung commented on June 11, 2024

Can you reproduce this with xargo directly, independent of Miri or x.py? If no, this is likely the wrong repository.

The rust repository might be a better fit also because to me this looks first like a cranelift issue.^^ xargo does not even interact much directly with rustc (just a bit via rustc_version), it mostly calls cargo in special ways.

from xargo.

jyn514 avatar jyn514 commented on June 11, 2024

I'm not sure where I would start trying to reproduce this.

cc @bjorn3 - do you know what's going wrong here?

from xargo.

bjorn3 avatar bjorn3 commented on June 11, 2024

Does it work with --stage 1?

from xargo.

bjorn3 avatar bjorn3 commented on June 11, 2024

I think I now what happens. Tools require Rustc instead of Assemble. This means that CodegenBackend is never built and thus rustc fails when trying to load cg_clif.

from xargo.

jyn514 avatar jyn514 commented on June 11, 2024

... is this why you can't run tools in-tree?

https://zulip-archive.rust-lang.org/257328clippy/19387Runclippyintree.html

from xargo.

bjorn3 avatar bjorn3 commented on June 11, 2024

I am not quite sure that has the same reason, but it could be.

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.