Skip to content

Commit

Permalink
Add deprecation notice to docs on SnoopPrecompile (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Apr 28, 2023
1 parent 0d84aed commit df2d507
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SnoopCompile"
uuid = "aa65fe97-06da-5843-b5b1-d5d13cad87d2"
author = ["Tim Holy <tim.holy@gmail.com>"]
version = "2.10.6"
version = "2.10.7"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
3 changes: 3 additions & 0 deletions docs/src/snoop_pc.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# SnoopPrecompile

!!! warning
SnoopPrecompile is deprecated. Please use [PrecompileTools](https://github.com/JuliaLang/PrecompileTools.jl) instead.

SnoopPrecompile provides a macro, `@precompile_all_calls`, which precompiles every call on its first usage.
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).

Expand Down

2 comments on commit df2d507

@timholy
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/82488

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v2.10.7 -m "<description of version>" df2d50772ecf0a597e362c11df8db4e24d01e9a2
git push origin v2.10.7

Please sign in to comment.