Skip to content

Commit

Permalink
oracle#2 Support i386 platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
ubuntu committed May 31, 2021
1 parent e693974 commit 947a52c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
org.graalvm.nativeimage.Platform$LINUX_AMD64
org.graalvm.nativeimage.Platform$LINUX_I386
org.graalvm.nativeimage.Platform$LINUX_AARCH64
org.graalvm.nativeimage.Platform$ANDROID_AARCH64
org.graalvm.nativeimage.Platform$DARWIN_AMD64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,19 @@ default String getArchitecture() {
}
}

/**
* Supported architecture: i386 32-bit.
*/
interface I386 extends Platform {

/**
* Returns string representing I386 architecture.
*/
default String getArchitecture() {
return "i386";
}
}

/**
* Supported architecture: ARMv8 64-bit.
*
Expand Down Expand Up @@ -254,6 +267,19 @@ public LINUX_AMD64() {

}

/**
* Supported leaf platform: Linux on x86 32-bit.
*/
class LINUX_I386 implements LINUX, I386 {

/**
* Instantiates a marker instance of this platform.
*/
public LINUX_I386() {
}

}

/**
* Supported leaf platform: Linux on AArch64 64-bit.
*
Expand Down

0 comments on commit 947a52c

Please sign in to comment.