diff --git a/README.md b/README.md index 7b7c343..adac9a2 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ This software is not sponsored or supported by Panic. * Switch to the nightly toolchain using `rustup toolchain install nightly`, required for the `build-std` feature. * If you want to build for the Playdate device, you will need the `thumbv7em-none-eabihf` target. Added with `rustup +nightly target add thumbv7em-none-eabihf` * All the requirements listed in [Inside Playdate with C](https://sdk.play.date/inside-playdate-with-c#_prerequisites). + * The GCC ARM compiler must be available in your system `PATH` environment variable. (This is usually done for you by the installer). ## Installation diff --git a/src/main.rs b/src/main.rs index e6527d3..982189a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -28,8 +28,7 @@ const GCC_PATH_STR: &'static str = "/usr/local/bin/arm-none-eabi-gcc"; #[cfg(all(unix, not(target_os = "macos")))] const GCC_PATH_STR: &'static str = "arm-none-eabi-gcc"; #[cfg(windows)] -const GCC_PATH_STR: &'static str = - r"C:\Program Files (x86)\GNU Tools Arm Embedded\9 2019-q4-major\bin\arm-none-eabi-gcc.exe"; +const GCC_PATH_STR: &'static str = "arm-none-eabi-gcc.exe"; #[cfg(unix)] #[allow(unused)]