mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
Mark the generated entry as doc(hidden) (#761)
Should hopefully fix the currently failing build - [x] no changelog update needed
This commit is contained in:
commit
18572658cb
|
@ -103,6 +103,7 @@ pub fn entry(args: TokenStream, input: TokenStream) -> TokenStream {
|
||||||
quote!(
|
quote!(
|
||||||
#[cfg(not(test))]
|
#[cfg(not(test))]
|
||||||
#[export_name = "main"]
|
#[export_name = "main"]
|
||||||
|
#[doc(hidden)]
|
||||||
#(#attrs)*
|
#(#attrs)*
|
||||||
pub extern "C" fn #fn_name() -> ! {
|
pub extern "C" fn #fn_name() -> ! {
|
||||||
let #mutable #argument_name = unsafe { #argument_type ::new_in_entry() };
|
let #mutable #argument_name = unsafe { #argument_type ::new_in_entry() };
|
||||||
|
@ -112,6 +113,7 @@ pub fn entry(args: TokenStream, input: TokenStream) -> TokenStream {
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
#[export_name = "main"]
|
#[export_name = "main"]
|
||||||
|
#[doc(hidden)]
|
||||||
#(#attrs)*
|
#(#attrs)*
|
||||||
pub extern "C" fn #fn_name() -> ! {
|
pub extern "C" fn #fn_name() -> ! {
|
||||||
let mut #argument_name = unsafe { #argument_type ::new_in_entry() };
|
let mut #argument_name = unsafe { #argument_type ::new_in_entry() };
|
||||||
|
|
Loading…
Reference in a new issue