Skip to content

@safe function error when compiling example #40

@Ezneh

Description

@Ezneh

Hi, while trying to compile any of the examples (dom / fetch), I get this error:

source\app.d(9,15): Error: @safe function _start cannot access __gshared data document source\app.d(19,15): Error: @safe function _start cannot access __gshared data document ldc2 failed with exit code 1.

I used the following commands:

dub upgrade dub run spasm:bootstrap-webpack dub build --compiler=ldc2 --build=release

My ldc2 version is the latest (1.19.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions