mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-18 23:41:24 +00:00
Add basic support for [NoInterfaceObject] attribute (#497)
This commit is contained in:
committed by
Alex Crichton
parent
a05d930a38
commit
478e3fcedf
@ -244,6 +244,10 @@ impl WebidlParse<()> for webidl::ast::NonPartialInterface {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
if util::is_no_interface_object(&self.extended_attributes) {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
program.imports.push(backend::ast::Import {
|
||||
module: None,
|
||||
version: None,
|
||||
|
Reference in New Issue
Block a user