Crate cargo_3ds

source ·

Modules§

Structs§

Functions§

  • Builds the 3dsx using 3dsxtool. This will fail if 3dsxtool is not within the running directory or in a directory found in $PATH
  • Builds the smdh using smdhtool. This will fail if smdhtool is not within the running directory or in a directory found in $PATH
  • Checks the current rust version and channel. Exits if the minimum requirement is not met.
  • Finds the sysroot path of the current toolchain
  • Parses messages returned by “build” cargo commands (such as cargo 3ds build or cargo 3ds run). The returned CTRConfig is then used for further building in and execution in build_smdh, build_3dsx, and link.
  • Read the RomFS path from the Cargo manifest. If it’s unset, use the default. The returned boolean is true when the default is used.
  • Link the generated 3dsx to a 3ds to execute and test using 3dslink. This will fail if 3dslink is not within the running directory or in a directory found in $PATH
  • Create a cargo command based on the context.
  • Build a command using [make_cargo_build_command] and execute it, parsing and returning the messages from the spawned process.