mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Fix a missing-type bug
This commit is contained in:
committed by
Cobrand
parent
c33715bf5f
commit
7ed0ab1a96
+1
-1
@@ -330,7 +330,7 @@ fn main() {
|
||||
let host = env::var("HOST").expect("Cargo build scripts always have HOST");
|
||||
let target_os = get_os_from_triple(target.as_str()).unwrap();
|
||||
|
||||
let sdl2_compiled_path;
|
||||
let sdl2_compiled_path: PathBuf;
|
||||
#[cfg(feature = "bundled")] {
|
||||
let sdl2_source_path = download_sdl2();
|
||||
sdl2_compiled_path = compile_sdl2(sdl2_source_path.as_path(), target_os);
|
||||
|
||||
Reference in New Issue
Block a user