File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/java/com/falsepattern/falsetweaks/modules/natives
panama/java/com/falsepattern/falsetweaks/modules/natives/panama Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ public static void loadJNI() throws UnsupportedPlatformException {
5252 log .info ("Initializing natives (JNI)" );
5353 val loader = new NativeLoader (CPUID .class );
5454 log .info ("Loading JNI stubs" );
55- loader .loadNative ("jni" , "x86_64" );
55+ loader .loadNative ("jni" , null );
5656 log .info ("Loading CPUID natives" );
57- val libCPUID = loader .loadNative ("cpuid" , "x86_64" );
57+ val libCPUID = loader .loadNative ("cpuid" , null );
5858 log .info ("Linking CPUID natives" );
5959 CPUID .link (libCPUID );
6060 log .info ("Fetching CPU arch" );
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public static void load() throws UnsupportedPlatformException {
4545 log .info ("Initializing panama context" );
4646 CTX = NativeContext .create (loader .nativesDir );
4747 log .info ("Unpacking CPUID natives" );
48- val libCPUID = loader .unpackNative ("cpuid" , "x86_64" );
48+ val libCPUID = loader .unpackNative ("cpuid" , null );
4949 log .info ("Loading CPUID natives" );
5050 try {
5151 CpuID_z_init .lib = CTX .load (CpuID_z_init .class , libCPUID );
You can’t perform that action at this time.
0 commit comments