From cfa697d507fc00ce4cba242b4857b2e655b159b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Haraldsson?= Date: Sat, 15 Aug 2020 18:10:18 +0000 Subject: [PATCH] Faster startup --- src/BinaryProvider.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/BinaryProvider.jl b/src/BinaryProvider.jl index 6c4dcd1..7887948 100644 --- a/src/BinaryProvider.jl +++ b/src/BinaryProvider.jl @@ -1,5 +1,9 @@ module BinaryProvider +if isdefined(Base, :Experimental) && isdefined(Base.Experimental, Symbol("@optlevel")) + @eval Base.Experimental.@optlevel 0 +end + using Libdl, Logging using Pkg, Pkg.PlatformEngines, Pkg.BinaryPlatforms import Pkg.PlatformEngines: package, download