Modules
Macros
- This macro creates a libC entry point into the program. To use this macro, you must indicate to the compiler that there is no main function by using
#![no_main]. This macro will create a C function calledmainand invoke the inner function you provide it. The inner function can take no arguments, or an argument which can be one of a few types: fn_formacro.- Sometimes, in the try_fn_catch macro, the ? operator breaks and the return type is unknown. This macro is a copy of the old try! macro, but for some reason I do not understand, this does work.