Skip to content

Commit

Permalink
Refactor native-image.properties to remove -march=native flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mkjsix committed Oct 25, 2024
1 parent c443a50 commit 0b5938f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ Args = --initialize-at-build-time=org.restheart.plugins.PluginsScanner,io.github
--install-exit-handlers \
--features=org.restheart.graal.PluginsReflectionRegistrationFeature,org.restheart.graal.PluginsClassloaderInitFeature \
--add-exports=java.net.http/jdk.internal.net.http=org.graalvm.truffle \
--add-modules=org.graalvm.polyglot \
-march=native
--add-modules=org.graalvm.polyglot

# --gc=G1 G1 can only be used in native images that are built on Linux for AMD64 with GraalVM Oracle
# --add-exports=java.net.http allows using java.net.http in JavaScript
Expand Down

0 comments on commit 0b5938f

Please sign in to comment.