Skip to content

Commit a6fc94e

Browse files
authored
Add compat with HistoricalStdlibVersions v2 (#384)
* Add compat with HistoricalStdlibVersions v2 This fixes support for nightly with the new Pkg version: JuliaLang/Pkg.jl#3911. * Bump version
1 parent 406ec5c commit a6fc94e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "BinaryBuilderBase"
22
uuid = "7f725544-6523-48cd-82d1-3fa08ff4056e"
33
authors = ["Elliot Saba <staticfloat@gmail.com>"]
4-
version = "1.30.0"
4+
version = "1.30.1"
55

66
[deps]
77
Bzip2_jll = "6e34b625-4abd-537c-b88f-471c36dfa7a0"
@@ -41,7 +41,7 @@ Bzip2_jll = "1.0.8"
4141
CodecZlib = "0.5, 0.6, 0.7"
4242
Downloads = "1.5"
4343
Gzip_jll = "1.12.0"
44-
HistoricalStdlibVersions = "0.1, 1"
44+
HistoricalStdlibVersions = "2"
4545
InteractiveUtils = "1.7"
4646
JLLWrappers = "1.4"
4747
JSON = "0.21"

src/BinaryBuilderBase.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ using Pkg, Pkg.Artifacts, Random, Libdl, InteractiveUtils
44
using Base.BinaryPlatforms
55
using Downloads
66
using JSON, OutputCollectors, Scratch
7-
using HistoricalStdlibVersions
7+
import HistoricalStdlibVersions
88

99
# Re-export useful stuff from Base.BinaryPlatforms:
1010
export HostPlatform, platform_dlext, valid_dl_path, arch, libc,
@@ -222,8 +222,8 @@ function __init__()
222222
use_ccache[] = true
223223
end
224224

225-
# Populate `Pkg.Types.STDLIBS_BY_VERSION`
226-
append!(empty!(Pkg.Types.STDLIBS_BY_VERSION), HistoricalStdlibVersions.STDLIBS_BY_VERSION)
225+
# Populate `Pkg.Types.STDLIBS_BY_VERSION`.
226+
HistoricalStdlibVersions.register!()
227227
end
228228

229229

0 commit comments

Comments
 (0)