pub fn write_r_wrappers_to_file(path: &str, r_dir: Option<&str>)Expand description
Write all R wrapper entries to a file.
Called from miniextendr_write_wrappers (via dyn.load/.Call of the
installed shared object). All distributed_slice entries from #[miniextendr]
items are available because stub.c force-loads the whole user crate.
r_dir is the package’s R/ directory. With it, the reexport! names
are also checked against the package’s hand-written R files (the code
files R installs from R/); without it, only against the wrappers.
Host-only — wasm32 doesn’t run wrapper-gen.