mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 19:00:11 +01:00
This is (far) from robust -- particularly with repeated compiles in the same address space. But it appears to be sufficient in the short term, and we already have the relevant TODOs to factor this upstream into something that we can use here. This also somehow uncovered a bug in how we were logging failed commands -- the failed commands are destroyed when we destroy the driver object (and its diagnostics object), so we simply cannot do the logging _after_ flushing diagnostics. That's probably ok, and just doing this in the other order makes the code simpler. Assisted-by: Antigravity with Gemini
Third-party
The /third_party directory is for any code that doesn't follow Carbon's normal
contribution rules, and thus requires special care. The intent is that code
not under /third_party should not require special contribution rules.
Examples of code belonging under /third_party include:
- Code not licensed under the standard Apache-2.0 WITH LLVM-exception license.
- Code which is maintained externally or imported from another repository.
- Code which is not fully under Carbon's CLA.