Commit 2eb076c
committed
feat: capability-driven ABI enforcement
A dependency may declare an abi:<x> capability (e.g. compat.glfw -> abi:glibc).
prepare_build now verifies the resolved toolchain's ABI satisfies every such
requirement and fails fast with an actionable message on mismatch — turning a
cryptic deep musl build error (libXdmcp arc4random_buf) into an upfront
capability error. Enforces/diagnoses; abi-driven reselection (toolchain is
resolved before the dep graph) is a resolution-ordering follow-up.1 parent 0d537f6 commit 2eb076c
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3131 | 3131 | | |
3132 | 3132 | | |
3133 | 3133 | | |
| 3134 | + | |
| 3135 | + | |
| 3136 | + | |
| 3137 | + | |
| 3138 | + | |
| 3139 | + | |
| 3140 | + | |
| 3141 | + | |
| 3142 | + | |
| 3143 | + | |
| 3144 | + | |
| 3145 | + | |
| 3146 | + | |
| 3147 | + | |
| 3148 | + | |
| 3149 | + | |
| 3150 | + | |
| 3151 | + | |
| 3152 | + | |
| 3153 | + | |
| 3154 | + | |
| 3155 | + | |
| 3156 | + | |
| 3157 | + | |
| 3158 | + | |
| 3159 | + | |
3134 | 3160 | | |
3135 | 3161 | | |
3136 | 3162 | | |
| |||
0 commit comments