local feature = function() local platforms = {"win32", "linux", "xnu", "mac", "osx", "ios", "x86_64", "x86_32", "aarch", "arm64", "mips", "mips64", "riscv", "intel", "powerpc", "amiga", "unix", "android", "apple", "amd64", "freebsd", "bsd"} forEach(platforms, function(platform) if (not _G[platform]) then excludes("**/" .. platform .. "/**.*"); excludes("**/*" .. platform .. ".*"); end end) excludes("**/arm/**"); -- whatever, we might name a file `arm` something, as in the limb, but a directory is far less likely for now end return feature