Skip to content

Building recompiles bootloader every build, resulting in extreme build times #286

Description

@BigBadE

Following the docs and making a simple project, a basic OS takes over 2 minutes to compile.

How to replicate:

  • Pull BigBadE/RustOS@3bb0491 (simple project, or just follow the tutorial for making one)
  • Follow setup and run cargo run once to pull dependencies
  • Build again with no changes, and compilation will take 2-4 minutes, always freezing on bootloader

Looking around Cargo issues, it looks like this issue has been reported a few times in the past (rust-lang/cargo#1162, rust-lang/cargo#1714, gimli-rs/cpp_demangle#79), but I didn't find any relevant reported issues. This build time makes running/testing extremely difficult.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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