pub fn maybe_codesign(bundle_home: &Path, target: CompilationTarget)
Expand description

If compiling for macOS, try to self-sign the bundle at the given path. This shouldn’t be necessary, but AArch64 macOS is stricter about these things and sometimes self built plugins may not load otherwise. Presumably in combination with hardened runtimes.

If the codesigning command could not be run then this merely prints a warning.