mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 18:20:51 +00:00
Merge pull request #548 from chinedufn/shorten-specifier
Fix LLVM ERROR (seemingly only on mac?)
This commit is contained in:
commit
606429165f
@ -76,7 +76,7 @@ impl ToTokens for ast::Program {
|
||||
|
||||
(quote! {
|
||||
#[allow(non_upper_case_globals)]
|
||||
#[link_section = "__wasm_bindgen_unstable"]
|
||||
#[link_section = "__wasm_bindgen,unstable"]
|
||||
#[doc(hidden)]
|
||||
pub static #generated_static_name: [u8; #generated_static_length] =
|
||||
*#generated_static_value;
|
||||
|
@ -287,7 +287,7 @@ fn extract_programs(module: &mut Module) -> Result<Vec<shared::Program>, Error>
|
||||
Section::Custom(ref s) => s,
|
||||
_ => continue,
|
||||
};
|
||||
if custom.name() != "__wasm_bindgen_unstable" {
|
||||
if custom.name() != "__wasm_bindgen,unstable" {
|
||||
continue;
|
||||
}
|
||||
to_remove.push(i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user