diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-10-26 20:32:16 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-10-26 20:32:16 -0700 |
| commit | 4bc88dd11641a664d80b00ad784bafc6da776697 (patch) | |
| tree | 0dfff49ae93d5826a0c10e3819a1225e4f992693 /lib/std/json | |
| parent | ba9e38847a097777370b4721780d5dbefda1b12f (diff) | |
| download | zig-4bc88dd11641a664d80b00ad784bafc6da776697.tar.gz zig-4bc88dd11641a664d80b00ad784bafc6da776697.zip | |
link: support exporting constant values without a Decl
The main motivating change here is to prevent the creation of a fake
Decl object by the frontend in order to `@export()` a value.
Instead, `link.updateDeclExports` is renamed to `link.updateExports` and
accepts a tagged union which can be either a Decl.Index or a
InternPool.Index.
Diffstat (limited to 'lib/std/json')
0 files changed, 0 insertions, 0 deletions
