Skip to content

Commit e1b8fa3

Browse files
committed
fixup! Bump patch version
1 parent 1792e41 commit e1b8fa3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/toplevel_generators.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ function generate_imports(src_name)
3131
using Pkg.Artifacts: load_artifacts_toml, unpack_platform
3232
using Pkg.BinaryPlatforms: triplet, select_platform
3333
HostPlatform() = platform_key_abi()
34-
if !@isdefined(augment_platform)
35-
augment_platform(platform) = platform
34+
if !@isdefined(augment_platform!)
35+
augment_platform!(platform) = platform
3636
end
3737
end
3838
else
@@ -41,8 +41,8 @@ function generate_imports(src_name)
4141
using Libdl, Artifacts, JLLWrappers.Preferences, Base.BinaryPlatforms
4242
using Artifacts: load_artifacts_toml, unpack_platform
4343
using Base.BinaryPlatforms: triplet, select_platform
44-
if !@isdefined(augment_platform)
45-
augment_platform(platform) = platform
44+
if !@isdefined(augment_platform!)
45+
augment_platform!(platform) = platform
4646
end
4747
end
4848
end
@@ -127,7 +127,7 @@ function generate_wrapper_load(src_name, pkg_uuid, __source__)
127127
# running at toplevel, and therefore will be run completely at compile-time. We use
128128
# a `let` block here to avoid storing unnecessary data in our `.ji` files
129129

130-
host_platform = augment_platform(HostPlatform())
130+
host_platform = augment_platform!(HostPlatform())
131131
best_wrapper = let
132132
artifacts_toml = joinpath($(pkg_dir), "..", "Artifacts.toml")
133133
valid_wrappers = Dict{Platform,String}()

0 commit comments

Comments
 (0)