ndk-macro
Implementation of the attribute procedural macro main which applied directly to main function.
This macro is re-exported in ndk-glue. Typically, it's not needed to depend on this library directly!
Usage
The attribute macro supports optional input attributes:
backtrace = "on|full": Enables backtraces by setting theRUST_BACKTRACEenv varndk_glue = "path::to::ndk_glue": Overrides default path to ndk_glue cratelogger(...props): Configures android logger with the passed configuration (requires theloggerfeature):level = "error|warn|info|debug|trace": Changes log level for loggertag = "my-tag": Assigns tag to loggerfilter = "filtering-rules": Changes default filtering rulesandroid_logger = "path::to::android_logger": Overrides default path to android_logger cratelog = "path::to::log": Overrides default path to log crate