diff --git a/apps/solidcraft/Cargo.toml b/apps/solidcraft/Cargo.toml index 85ba056600..8ffa40e897 100644 --- a/apps/solidcraft/Cargo.toml +++ b/apps/solidcraft/Cargo.toml @@ -8,9 +8,12 @@ publish = false default-run = "solidcraft" [features] -default = ["raytrace-cpu", "bundled-render-library"] +default = ["raytrace-cpu", "bundled-render-library", "smlib"] bundled-render-library = ["solidcraft-engine/bundled-render-library"] raytrace-cpu = ["solidcraft-engine/raytrace-cpu"] +# Link SMLib into the kernel (solidcraft-engine/smlib; needs scripts/fetch-smlib.sh). SMLib is the +# only kernel, so without it the app models nothing. +smlib = ["solidcraft-engine/smlib"] # The workspace lints, except unsafe_code: denied, not forbidden, so that src/open_documents.rs # (macOS file-open events), src/native_crash.rs (Windows exception filter), src/native_crash_macos.rs