]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/hir/mod.rs
Auto merge of #51966 - alexcrichton:llvm7, r=michaelwoerister
[rust.git] / src / librustc / hir / mod.rs
index f18846b8574df4ae347fc2f821dc0ae28027dd66..bae443bfc582403a036c732964b20ad4cd19f811 100644 (file)
@@ -2268,6 +2268,7 @@ pub struct CodegenFnAttrs {
     pub export_name: Option<Symbol>,
     pub target_features: Vec<Symbol>,
     pub linkage: Option<Linkage>,
+    pub wasm_custom_section: Option<Symbol>,
 }
 
 bitflags! {
@@ -2292,6 +2293,7 @@ pub fn new() -> CodegenFnAttrs {
             export_name: None,
             target_features: vec![],
             linkage: None,
+            wasm_custom_section: None,
         }
     }