Skip to content

FileWatching required in sysimage for parellel precompilation to work otherwise ungracefully errors. #56569

@KristofferC

Description

@KristofferC

This line

FileWatching = Base.loaded_modules[Base.PkgId(Base.UUID("7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"), "FileWatching")]

fails if one builds a sysimage without FileWatching. It should instead probably run without the pid locking if FileWatching does not exist in the sysimage, or try load it. I tried to change it to using require_stdlib but this code gets run during Pkg precompilation and then we get an error trying to use require_stdlib during package precompilation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    packagesPackage management and loading

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions