1
0
Fork 0
forked from fun/fun

More OpenSSL and documenation fun. No more words to say. (0.38.13)

This commit is contained in:
Johannes Findeisen 2026-02-19 14:05:14 +01:00
commit 38968a9a51
33 changed files with 498 additions and 88 deletions

View file

@ -27,8 +27,8 @@ Rust integration is optional and gated by a CMake flag. Default builds usually h
Enable it for a configured profile (Debug or Release):
- Debug example:
cmake -S . -B build_debug -DFUN_WITH_RUST=ON
cmake --build build_debug --target fun
cmake -S . -B build -DFUN_WITH_RUST=ON
cmake --build build --target fun
- Release example:
cmake -S . -B build_release -DFUN_WITH_RUST=ON
@ -137,11 +137,11 @@ Once wired, expose the opcode via a builtin function or directly in bytecode. Th
Run the example:
1) Build with Rust enabled (Debug):
cmake -S . -B build_debug -DFUN_WITH_RUST=ON
cmake --build build_debug --target fun
cmake -S . -B build -DFUN_WITH_RUST=ON
cmake --build build --target fun
2) Execute the script:
build_debug/fun examples/rust_hello.fun
build/fun examples/rust_hello.fun
Expected output:
Hello from Rust ops!