Git Product home page Git Product logo

Comments (5)

phil-opp avatar phil-opp commented on July 17, 2024

Thank you for the code example, it was really helpful!

The problem was that bootimage defaulted to the workspace root if no --manifest-path was passed. I published a new version (0.6.0) that defaults to the current directory instead.

from bootimage.

wwestlake avatar wwestlake commented on July 17, 2024

from bootimage.

phil-opp avatar phil-opp commented on July 17, 2024

Perfect, thanks for testing! There is still a bug with bootimage test on Windows, but it should be fixed tomorrow.

I'm not sure if I understand your question correctly. If the other crates are dependencies of your OS, cargo should build them automatically with your OS. If you want to invoke bootimage from the workspace root, you can still do this: bootimage (and also cargo xbuild and cargo build) support a --manifest-path argument to specify which project to build. To build your OS crate from the workspace root, run bootimage build --manifest-path hacker-os/Cargo.toml.

from bootimage.

wwestlake avatar wwestlake commented on July 17, 2024

from bootimage.

phil-opp avatar phil-opp commented on July 17, 2024

Wow, that's a lot of experience! Let me know if something in the book is unclear. Thanks again for the bug report!

from bootimage.

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.