Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Diagnose recursive project/enable_language without crashing (#15999) | Brad King | 2016-03-07 | 1 | -0/+1 |
Calling `project()` or `enable_language()` from a toolchain file will infinitely recurse since those commands load the toolchain file. Diagnose and reject this case with an error message instead of crashing when the stack eventually overflows. |