Skip to content

Commit 289345c

Browse files
committed
max-methods=1
1 parent 1d2e06e commit 289345c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "HostCPUFeatures"
22
uuid = "3e5b6fbb-0976-4d2c-9146-d79de83f2fb0"
33
authors = ["Chris Elrod <[email protected]> and contributors"]
4-
version = "0.1.13"
4+
version = "0.1.14"
55

66
[deps]
77
BitTwiddlingConvenienceFunctions = "62783981-4cbd-42fc-bca8-16325de8dc4b"

src/HostCPUFeatures.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
module HostCPUFeatures
2+
if isdefined(Base, :Experimental) &&
3+
isdefined(Base.Experimental, Symbol("@max_methods"))
4+
@eval Base.Experimental.@max_methods 1
5+
end
26

37
using Libdl, Static
48
using Static: Zero, One, lt, gt

0 commit comments

Comments
 (0)