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.
2 parents 524ace8 + fd67cf7 commit 5d6a10aCopy full SHA for 5d6a10a
src/StaticArrayInterface.jl
@@ -486,7 +486,10 @@ include("indexing.jl")
486
include("stridelayout.jl")
487
include("broadcast.jl")
488
489
-import Requires
+@static if !isdefined(Base, :get_extension)
490
+ import Requires
491
+end
492
+
493
@static if !isdefined(Base, :get_extension)
494
function __init__()
495
Requires.@require StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" begin include("../ext/StaticArrayInterfaceStaticArraysExt.jl") end
0 commit comments