Skip to content

Commit dd79efa

Browse files
maxdedMarijnS95
andauthored
Update steamworks-sys/build.rs
Co-authored-by: Marijn Suijten <marijns95@gmail.com>
1 parent 0d83660 commit dd79efa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

steamworks-sys/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
2323

2424
let dylib_src = sdk_src.join("redistributable_bin").join({
2525
if triple.contains("windows") {
26-
if !triple.contains("i686") {
26+
if triple.starts_with("x86_64") {
2727
// This dll has been renamed from `steam_api64` to `steam_api`.
2828
"win64/steam_api.dll"
2929
} else {
30-
panic!("Unsupported OS");
30+
panic!("Unsupported Windows architecture {triple}");
3131
}
3232
} else if triple.contains("linux") {
3333
if triple.contains("i686") {

0 commit comments

Comments
 (0)