Closed maleadt closed 8 months ago
After https://github.com/JuliaLang/julia/pull/50586, Base.JLOptions().use_compiled_modules can be 2 for --compiled-modules=existing:
Base.JLOptions().use_compiled_modules
--compiled-modules=existing
❯ ../julia --compiled-modules=existing --project -e 'using Pkg; Pkg.test()' Testing Running tests... ERROR: InexactError: Bool(2) Stacktrace: [1] Bool @ ./float.jl:233 [inlined] [2] gen_subprocess_cmd(code::String, source_path::String; coverage::Bool, julia_args::Cmd) @ Pkg.Operations ~/Julia/src/julia/build/dev/usr/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1685 [3] gen_subprocess_cmd @ ~/Julia/src/julia/build/dev/usr/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1677 [inlined]
https://github.com/JuliaLang/julia/pull/52573 adds something similar for --pkgimages, but that doesn't seem to get forwarded by Pkg. I guess it should?
--pkgimages
After https://github.com/JuliaLang/julia/pull/50586,
Base.JLOptions().use_compiled_modules
can be 2 for--compiled-modules=existing
:https://github.com/JuliaLang/julia/pull/52573 adds something similar for
--pkgimages
, but that doesn't seem to get forwarded by Pkg. I guess it should?