Hi,
This issue is more about questions on how ctru-rs works.
I am working on a wrapper of libnds for the DS and I would like to be able to do something like ctru-rs that can simply be included as a dependency to build for ds with just the .json of the target.
The DS and 3DS both work with specs files that define .ld, .mem files that are included during the build process.
I tried to link them with println!("cargo:rustc-link-arg=-specs={}/sys/crts/ds_arm9.specs",&blocksds_path); for the DS but i found out that build.rs link args don't extend to parent crates, as such this wouldn't work when used as a dependency.
How does ctru-rs handle this type of things ? as from what I know it depends on devkitpro which does rely on specs files as well
Hi,
This issue is more about questions on how ctru-rs works.
I am working on a wrapper of libnds for the DS and I would like to be able to do something like ctru-rs that can simply be included as a dependency to build for ds with just the .json of the target.
The DS and 3DS both work with specs files that define .ld, .mem files that are included during the build process.
I tried to link them with
println!("cargo:rustc-link-arg=-specs={}/sys/crts/ds_arm9.specs",&blocksds_path);for the DS but i found out that build.rs link args don't extend to parent crates, as such this wouldn't work when used as a dependency.How does ctru-rs handle this type of things ? as from what I know it depends on devkitpro which does rely on specs files as well