Commit 0e2201b
authored
Prioritize
When multiple `path`s are used the `generate!` macro will fail if they
all contain a `world` and no world is otherwise specified. This then
additionally affected when using `inline` plus loading auxiliary WIT
from a `paths` directory (either explicitly or the default `wit`). This
commit switches the logic to prioritizing worlds in the `inline` block
because if that's being specified it's pretty likely the exact one that
wants to be used.inline worlds, not external ones (bytecodealliance#1358)1 parent ecb620e commit 0e2201b
2 files changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments