Skip to content

Commit b68b62b

Browse files
committed
Merge branch 'steamworks-refactors' of github.com:Traverse-Research/steamworks-rs into steamworks-refactors
2 parents 4aab5db + 99b1736 commit b68b62b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

steamworks-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ rebuild-bindings = ["bindgen"]
1818
libloading = { version = "0.8", default-features = false }
1919

2020
[build-dependencies]
21-
bindgen = { version = "0.71" , optional = true }
21+
bindgen = { version = "0.71", optional = true }

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)