Precompile/build an extension

Hello, is it currently possible to manually (equivalent of pkg> build) precompile a package extension after modifying it?

pkg> up recompiles when everything that was modified. Except when precompilation failed last time it tried, in which case I think you could just do using Both, Packages. Not sure if this helps.

EDIT: you could also try Pkg’s precompile command: pkg> precompile Both Packages.

My issue is when the precompilation fails in particular. After using Both, Packages, the precompiler gives up on the extension and never tries again.

Does Base.retry_load_extensions() help in this case?