Skip to content

Commit 1e873bc

Browse files
committed
refactor: prefix extensions with package name
- this will ensure extension names are unique - whenever there is another package with same ext name, building sysimage fails - ex: LogExpFunctions has its own ChainRulesCoreExt.jl
1 parent 856eb37 commit 1e873bc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1111
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
1212

1313
[extensions]
14-
ChainRulesCoreExt = "ChainRulesCore"
14+
ChangesOfVariablesChainRulesCoreExt = "ChainRulesCore"
1515

1616
[compat]
1717
ChainRulesCore = "1"

ext/ChainRulesCoreExt.jl renamed to ext/ChangesOfVariablesChainRulesCoreExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module ChainRulesCoreExt
1+
module ChangesOfVariablesChainRulesCoreExt
22

33
using ChainRulesCore
44

src/ChangesOfVariables.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ using Test
1515
include("with_ladj.jl")
1616
include("test.jl")
1717
if !isdefined(Base, :get_extension)
18-
include("../ext/ChainRulesCoreExt.jl")
18+
include("../ext/ChangesOfVariablesChainRulesCoreExt.jl")
1919
end
2020

2121
end # module

0 commit comments

Comments
 (0)