Skip to content

Commit

Permalink
Fix selector refs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwu committed Aug 12, 2018
1 parent 5d107b6 commit 78f723c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust_gen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ fn gen_file(
ast.items.push(parse_quote!{
#[allow(non_upper_case_globals)]
#[link_section="__DATA,__objc_selrefs"]
static mut #selname: SelectorRef = SelectorRef(&#sel[0] as *const u8);
pub static mut #selname: SelectorRef = SelectorRef(&#sel[0] as *const u8);
});
}

Expand Down

0 comments on commit 78f723c

Please sign in to comment.