Skip to content

Commit 3084db6

Browse files
committed
Always invoke hooks in the current world.
1 parent 57784e6 commit 3084db6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "GPUCompiler"
22
uuid = "61eb1bfa-7361-4325-ad38-22787b887f55"
3-
version = "1.9.0"
3+
version = "1.9.1"
44
authors = ["Tim Besard <tim.besard@gmail.com>"]
55

66
[workspace]

src/driver.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function compile(target::Symbol, @nospecialize(job::CompilerJob); kwargs...)
6161
end
6262

6363
if compile_hook[] !== nothing
64-
compile_hook[](job)
64+
Base.invokelatest(compile_hook[], job)
6565
end
6666

6767
return compile_unhooked(target, job)

0 commit comments

Comments
 (0)