Module features

Module features 

Source
Expand description

ยงCrate features

std: Enable support for the standard library. This is required for static ctor variables, but not for functions.

used_linker: Mark all ctor functions with used(linker).

proc_macro: Enable support for the proc-macro #[ctor] and #[dtor] attributes.

__no_warn_on_missing_unsafe: Do not warn when a ctor or dtor is missing the unsafe keyword.