Open Zireael07 opened 4 years ago
dub build --compiler=ldc2 --build=release as well as dub build --build=release --build-mode=allAtOnce result in;
dub build --compiler=ldc2 --build=release
dub build --build=release --build-mode=allAtOnce
source/app.d(9,17): Error: @safe function _start cannot access __gshared data document source/app.d(14,15): Error: @safe function _start cannot access __gshared data document /home/kasia/dlang/ldc-1.20.1/bin/ldc2 failed with exit code 1.
Trying to build with --combined flag resulted in a slew of errors from it erroneously trying to use the runtime (#15)
Contrary to most people reporting, I am not on Windows, but on Linux Manjaro.
My dub.json:
{ "authors": [ "KM" ], "copyright": "Copyright © 2020, KM", "dependencies": { "spasm": "~>0.1.13" }, "dflags": ["-mtriple=wasm32-unknown-unknown-wasm", "-Oz", "-betterC", "-fvisibility=hidden"], "description": "A minimal D application.", "license": "proprietary", "name": "roguelike" }
dub build --compiler=ldc2 --build=release
as well asdub build --build=release --build-mode=allAtOnce
result in;source/app.d(9,17): Error: @safe function _start cannot access __gshared data document source/app.d(14,15): Error: @safe function _start cannot access __gshared data document /home/kasia/dlang/ldc-1.20.1/bin/ldc2 failed with exit code 1.
Trying to build with --combined flag resulted in a slew of errors from it erroneously trying to use the runtime (#15)
Contrary to most people reporting, I am not on Windows, but on Linux Manjaro.
My dub.json:
{ "authors": [ "KM" ], "copyright": "Copyright © 2020, KM", "dependencies": { "spasm": "~>0.1.13" }, "dflags": ["-mtriple=wasm32-unknown-unknown-wasm", "-Oz", "-betterC", "-fvisibility=hidden"], "description": "A minimal D application.", "license": "proprietary", "name": "roguelike" }