Skip to content

RNG not being seeded during precompilation #755

Description

@IanButterworth

Maybe this needs to be moved to julia issues.

On nightly the following is failing

# Check that the RNG is seeded during precompilation
println("myrand: ", myrand == 0.0 ? "fail" : "ok")

where myrand is a const in the module

const myrand = rand()

See https://github.com/JuliaLang/PackageCompiler.jl/actions/runs/3857713317/jobs/6575476152

@vchuravy is this known?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions