mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-23 23:42:42 +00:00
add first implementation of carbon build subcommand (#7239)
This is the first draft of the implementation of [p6333](https://docs.carbon-lang.dev/proposals/p6333.html). The `build` subcommand shared logic with the `compile` and `link` subcommands, so I've moved some of the functionality in `compile` and `link` to shared `CompileDriver` and `LinkDriver` classes, respectively. This also required exposing the `CompileOptions` and `LinkOptions` subcommand structs for re-use. There's still some work to do on the proposal, most notably the package include automatic path resolution and import, and the refactors to `carbon compile`.
This commit is contained in:
1 parent
e7ffb559f5
commit
1a26b57732
19 files changed
+2045
-1521
No files matched your search
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user