Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added initial support for GraalVM Native images. #1376

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,23 @@ Supported Locales
* zh_CN (Chinese)
* zh-TW

NATIVE IMAGE
------------

Since version 2.4.1, Datafaker provides **experimental** native-image support.
This is done by providing a `reachability-metadata.json` file in the META-INF directory.

This file is currently created manually by running all the unit tests, and having an agent collect tracing info:

```
-agentlib:native-image-agent=config-output-dir=src/main/resources/META-INF/native-image
```

Future enhancements should automate and improve this process, but if you encounter any unexpected behaviour,
feel free to report an issue.

An example usage of this can be found here: https://github.com/datafaker-net/datafaker-native-demo

LICENSE
-------
Copyright (c) 2024 Datafaker.net See the LICENSE file for license rights and limitations.
Loading