File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ rebuild-bindings = ["bindgen"]
1818libloading = { version = " 0.8" , default-features = false }
1919
2020[build-dependencies ]
21- bindgen = { version = " 0.71" , optional = true }
21+ bindgen = { version = " 0.71" , optional = true }
Original file line number Diff line number Diff 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" ) {
You can’t perform that action at this time.
0 commit comments