meson-cross-compilation — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited meson-cross-compilation (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Cross-compilation means building on one machine for another machine. Meson uses machine files to describe the compiler, target platform, and any target-specific properties.
Runnable examples live under this skill's examples/ directory.
# cross.ini
[host_machine]
system = 'linux'
cpu_family = 'arm'
cpu = 'armv7l'
endian = 'little'
[binaries]
c = '/usr/bin/arm-linux-gnueabihf-gcc'
cpp = '/usr/bin/arm-linux-gnueabihf-g++'
ar = '/usr/bin/arm-linux-gnueabihf-gcc-ar'
strip = '/usr/bin/arm-linux-gnueabihf-strip'
exe_wrapper = '/usr/bin/qemu-arm'
[properties]
sys_root = '/opt/arm-sysroot'
pkg_config_libdir = '/opt/arm-sysroot/usr/lib/pkgconfig'
toolchain_prefix = 'arm-linux-gnueabihf'
[built-in options]
c_std = 'c17'
cpp_std = 'c++20'
warning_level = '3'Then configure with:
meson setup builddir --cross-file cross.inibuild_machine: the machine doing the compilinghost_machine: the machine that will run the outputstarget_machine: only needed for toolchains that produce tools for a third machine[binaries]: compilers, linkers, archivers, wrappers, and helper executables[properties]: custom machine metadata, sysroot-related settings, and other values read with meson.get_external_property()[built-in options]: compiler, linker, and language-standard options such as c_args, c_link_args, c_std, cpp_std, and warning_levelmeson.get_external_property() for custom values from native or cross files.[built-in options], not in [properties].pkg_config_libdir when the target sysroot has its own pkg-config metadata.exe_wrapper when the target binaries cannot run on the build machine.Use a native file for build tools that must run on the build machine, such as code generators, formatters, or helper executables.
[properties] is for machine-specific metadata and custom values that Meson reads with meson.get_external_property().[built-in options] is for compiler and linker configuration, including standards, warning levels, and argument lists.If a setting changes the compiler invocation, it belongs in [built-in options].
If the compiler, linker, or sysroot is wrong, Meson is usually exposing a toolchain problem rather than causing it. Check the machine file first.
c_args, cpp_args, or standard selections in [properties]pkg_config_libdirLanguage standards are set via [built-in options] in the machine file (see meson-setup-configuration/SKILL.md for the authoritative guidance).
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.