dlopen_note!() { /* proc-macro */ }Expand description
Creates a .note.dlopen section.
§Example
dlopen_note! {
soname: ["libvulkan.so.1"],
feature: "vulkan",
description: "required for the vulkan renderer",
priority: "recommended",
}§Syntax
The fields and their meaning are specified at uapi-group.org.
In short:
- The supported fields are the ones that appear in the example above.
- The
sonamefield is required and must have at least one element. - The strings must not contain any control characters.
- The
prioritymust berequired,recommended, orsuggested.