forked from theseus-os/Theseus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
theseus_cargo
tool to support building out-of-tree crates again…
…st an existing pre-built Theseus instance, with an example called `libtheseus` (theseus-os#333) * Add functionality to `copy_latest_crate_objects` and the top-level `Makefile` that creates a DEPS_DIR. The DEPS_DIR (currently ./build/deps) holds all information required to reproduce a Theseus build, including its dependency files (.rmeta/.rlib), a TheseusBuild.toml file, the target spec JSON file, the sysroot (created by xargo), etc. * We probably still need to support matching other items from Theseus, i.e., the exact versions of crates specified by Theseus's top-level Cargo.lock file, and/or the "patch" sections from Theseus's top-level Cargo.toml. * `libtheseus` is a proof-of-concept for an out-of-tree crate build, it works and runs but currently doesn't really do anything. * Use the --release flag for all cargo run commands in the Theseus build process (in the Makefiles).
- Loading branch information
1 parent
a1b017c
commit ad42397
Showing
16 changed files
with
2,684 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.