From 512b683d55cbfed3cdd3e11fa87a1eca574714b8 Mon Sep 17 00:00:00 2001 From: Nahuel Lofeudo Date: Sat, 18 Jul 2026 10:01:58 +0100 Subject: [PATCH] Fixed compilation noise --- Cargo.toml | 15 --------------- src/gtfs/mod.rs | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 420f272..0fe9d96 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,18 +31,3 @@ assets = ["resources"] icon = "resources/icon.png" desktop_entry = "other/rs-dublinbus.desktop" auto-link=true - -[target.aarch64-unknown-linux-gnu] -cc = "aarch64-linux-gnu-gcc" -cxx = "aarch64-linux-gnu-g++" -ar = "aarch64-linux-gnu-ar" -ranlib = "aarch64-linux-gnu-ranlib" -linker = "aarch64-linux-gnu-ld" - - -[target.arm-unknown-linux-gnueabihf] -cc = "arm-linux-gnueabihf-gcc" -cxx = "arm-linux-gnueabihf-g++" -ar = "arm-linux-gnueabihf-ar" -# ranlib = "arm-linux-gnueabihf-ranlib" -linker = "arm-linux-gnueabihf-gcc" \ No newline at end of file diff --git a/src/gtfs/mod.rs b/src/gtfs/mod.rs index 6476841..b4dc3ab 100644 --- a/src/gtfs/mod.rs +++ b/src/gtfs/mod.rs @@ -101,7 +101,7 @@ impl Gtfs<'_> { /// Load a GTFS structure from a zip file - pub fn load(prefs: &Preferences) -> Result { + pub fn load(prefs: &Preferences) -> Result, Error> { _ = refresher::refresh(prefs);