Skip to content

Commit f28700e

Browse files
pyrrhoCobrand
authored andcommitted
Fix a missing-type bug
1 parent df951bf commit f28700e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdl2-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ fn main() {
330330
let host = env::var("HOST").expect("Cargo build scripts always have HOST");
331331
let target_os = get_os_from_triple(target.as_str()).unwrap();
332332

333-
let sdl2_compiled_path;
333+
let sdl2_compiled_path: PathBuf;
334334
#[cfg(feature = "bundled")] {
335335
let sdl2_source_path = download_sdl2();
336336
sdl2_compiled_path = compile_sdl2(sdl2_source_path.as_path(), target_os);

0 commit comments

Comments
 (0)