zeroshade commented on code in PR #3313:
URL: https://github.com/apache/arrow-adbc/pull/3313#discussion_r2289035820


##########
rust/driver_manager/src/lib.rs:
##########
@@ -1804,14 +1804,24 @@ fn get_search_paths(lvls: LoadFlags) -> Vec<PathBuf> {
 const fn arch_triplet() -> (&'static str, &'static str, &'static str) {
     #[cfg(target_arch = "x86_64")]
     const ARCH: &str = "amd64";
-    #[cfg(target_arch = "aarch64")]
+    #[cfg(all(target_arch = "aarch64", target_endian = "big"))]
+    const ARCH: &str = "arm64be";

Review Comment:
   that gets handled by using `std::env::consts::ARCH` etc. because `wasm32` 
and `wasm64` are the values used for those consts when those are the target 
anyways, so it would automatically create the right strings.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to