From 9bf54ef0594be183f781aa672694bddb7250a1cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Wed, 28 Oct 2026 19:30:47 +0100 Subject: [PATCH] Remove docstring of deprecated compile_hook binding Attaching a docstring to a binding deprecated with @deprecate_binding resolves it, so precompiling GPUCompiler itself emits the deprecation warning (#1015) and fails under --depwarn=error. --- src/deprecated.jl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/deprecated.jl b/src/deprecated.jl index 6eb10fb0..4b6c5b2a 100644 --- a/src/deprecated.jl +++ b/src/deprecated.jl @@ -314,12 +314,4 @@ end # `with_compile_hook`. Base.@deprecate_binding compile_hook active_compile_hook false ", use `run_compile_hook` or `with_compile_hook` instead." -""" - compile_hook - -Deprecated: back-ends report the jobs they look up with [`run_compile_hook`](@ref), and -tools install a hook with [`with_compile_hook`](@ref). -""" -compile_hook - @public compile_hook