We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a33f3e3 commit 45cc049Copy full SHA for 45cc049
src/wrapper_generators.jl
@@ -10,7 +10,7 @@ macro generate_wrapper_header(src_name)
10
@static if isdir(joinpath(dirname($(pkg_dir)), "override"))
11
return joinpath(dirname($(pkg_dir)), "override")
12
elseif @isdefined(augment_platform!) && VERSION >= v"1.6"
13
- $(Expr(:macrocall, Symbol("@artifact_str"), __source__, src_name, :(host_platform)))
+ $(Expr(:macrocall, Symbol("@artifact_str"), __source__, src_name, __module__.host_platform))
14
else
15
# We explicitly use `macrocall` here so that we can manually pass the `__source__`
16
# argument, to avoid `@artifact_str` trying to lookup `Artifacts.toml` here.
0 commit comments