pub const DEFAULT_EXCLUDED_PLATFORMS: &[&str];Expand description
The default ScaffoldConfig::excluded_platforms: the three DuckDB-Wasm
targets and windows_amd64_mingw.
The community build compiles those with toolchains a Rust extension rarely
needs and often does not build with — emscripten, where the cdylib becomes
a staticlib through src/wasm_lib.rs, and the MinGW (windows-gnu)
target — and most build: cargo extensions in duckdb/community-extensions
exclude them. Excluding them by default keeps a new extension’s first
community build green. (windows_amd64_mingw in particular: on
v2.0-cyanoptera, extension-ci-tools’ rust.Makefile passes Cargo no
--target for it, so the build would produce the runner’s MSVC-ABI DLL and
stamp it windows_amd64_mingw.) To opt a platform in, drop it from
excluded_platforms (or from both description.yml and the workflow’s
exclude_archs in a generated project) and let the distribution workflow
prove it builds.