Yuta Saito
79b3d2d626
Add underscore prefix to extern attribute
...
It's already guarded by a feature flag, but it would be nice to signal
users that it's not stable yet by adding an underscore prefix.
2023-11-07 02:01:02 +00:00
Yuta Saito
69479933df
[c-interop] Rename @_extern to @extern
...
Now the feature is gated by experimental feature flag.
It's not shipped in any language release, so this rename should be fine.
2023-10-20 17:37:43 +00:00
Yuta Saito
03ed46aa74
[c-interop] Gate @_extern behind experimental feature flag
2023-10-20 17:04:36 +00:00
Yuta Saito
bd898b0e7e
[wasm] add @_extern(wasm) attribute support
...
This attribute instructs the compiler that this function declaration
should be "import"ed from host environment. It's equivalent of Clang's
`__attribute__((import_module("module"), import_name("field")))`
2023-10-10 22:42:08 +00:00