Open CGMossa opened 1 year ago
Via #246 rextendr::document doesn't re-compile in case you change .cargo/config.toml-file.
rextendr::document
.cargo/config.toml
The detection of needing to compile comes from pkgbuild. This extra rust feature was provided by way of https://github.com/r-lib/pkgbuild/commit/2fd13d9a3b45332db9a95ab2cf092a5cd1d0dc60
pkgbuild
Here it is clearly stated that rs-files and Cargo.toml are the only sensitive ones to recompilation.
rs
Cargo.toml
There was talk of adding a configurable feature via DESCRIPTION-file, but this was abandoned.
DESCRIPTION
Do we suggest the following additions:
.cargo\config.toml
.cargo\config
**/.cargo/config.toml
rust-toolchain.toml
I'd rather we gather the exact glob-list before making an issue over at pkgbuild.
How about we track *rs and *toml? Feels like all of them should affect compilation, no? And by we I mean ask {pkgbuild} :)
*rs
*toml
{pkgbuild}
Via #246
rextendr::document
doesn't re-compile in case you change.cargo/config.toml
-file.The detection of needing to compile comes from
pkgbuild
. This extra rust feature was provided by way of https://github.com/r-lib/pkgbuild/commit/2fd13d9a3b45332db9a95ab2cf092a5cd1d0dc60Here it is clearly stated that
rs
-files andCargo.toml
are the only sensitive ones to recompilation.There was talk of adding a configurable feature via
DESCRIPTION
-file, but this was abandoned.Do we suggest the following additions:
.cargo\config.toml
has changed, or.cargo\config
? Actually it needs to be**/.cargo/config.toml
atleast.rust-toolchain.toml
file should also provoke a change.I'd rather we gather the exact glob-list before making an issue over at
pkgbuild
.