MCPcopy Index your code
hub / github.com/benfry/processing4 / getNativeArch

Method getNativeArch

app/src/processing/app/Platform.java:207–213  ·  view source on GitHub ↗

Return the value of the os.arch property

()

Source from the content-addressed store, hash-verified

205 * Return the value of the os.arch property
206 */
207 static public String getNativeArch() {
208 // This will return "arm" for 32-bit ARM on Linux,
209 // and "aarch64" for 64-bit ARM on Linux (rpi) and Apple Silicon
210 // (the latter only when using a native 64-bit ARM VM on macOS,
211 // which as of 4.0 alpha 5 is not being used b/c of missing libs).
212 return System.getProperty("os.arch");
213 }
214
215
216 static public String getVariant() {

Callers 1

getVariantMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected