Skip to content

Commit df2d507

Browse files
authored
Add deprecation notice to docs on SnoopPrecompile (#363)
1 parent 0d84aed commit df2d507

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SnoopCompile"
22
uuid = "aa65fe97-06da-5843-b5b1-d5d13cad87d2"
33
author = ["Tim Holy <[email protected]>"]
4-
version = "2.10.6"
4+
version = "2.10.7"
55

66
[deps]
77
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"

docs/src/snoop_pc.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# SnoopPrecompile
22

3+
!!! warning
4+
SnoopPrecompile is deprecated. Please use [PrecompileTools](https://github.com/JuliaLang/PrecompileTools.jl) instead.
5+
36
SnoopPrecompile provides a macro, `@precompile_all_calls`, which precompiles every call on its first usage.
47
The key feature of `@precompile_all_calls` is that it intercepts all callees (including those made by runtime dispatch) and, on Julia 1.8 and higher, allows you to precompile the callee even if it comes from a different module (e.g., `Base` or a different package).
58

0 commit comments

Comments
 (0)