diff --git a/mod.dang b/mod.dang index 19cf7a2..c7c9920 100644 --- a/mod.dang +++ b/mod.dang @@ -239,11 +239,13 @@ type Mod { let staging(target: Workspace!, outside: [String!]!): Workspace! { if (hasEntrypointManifest) { let loaded = sdkHelpers.moduleManifest(loadToml: ws.file("/" + manifestPath)).withoutEntrypoint - # A static entrypoint manifest holds no runtime to fall back on. + # A static entrypoint manifest holds no runtime, and the engine refuses a + # manifest with neither. Dang, not Python: the engine loads the added + # runtime eagerly, and only Dang's loads with no build. let runnable = if (manifestConfig.fields.contains("runtime")) { loaded } else { - loaded.withLegacyPythonRuntime + loaded.withLegacyDangRuntime } # The build that renders the types reads the path sources outside the # module directory, which the entrypoint's sources will return.