1
0
mirror of synced 2024-12-13 08:21:07 +01:00
ImHex/plugins/libimhex/include/hex/helpers
WerWolv 46ba46ce9d
build/plugins: Added initial support for Rust plugins (#327)
* build: Added initial support for Rust plugins

* github: Install correct rust version

* github: Fixed rustup command

* github: Fix swapped win/linux commands

* github: Install linux rust toolchain on Linux

* github: Add rustup parameters to correct command

* build: libimhex-rust -> hex

* rust-plugins: Disable optimization to export functions correctly

* build: Use cdylib instead of dylib

* build: Fixed rust building and artifact copying

* build: Fixed installing plugins

* build: Fix copying and installing on Windows

* github: Added windows debugging

* github: Use curl instead of wget

* github: Added debug on failure

* github: Update path variable with rust toolchain path

* build/github: Set rust location so cmake can find it

* build: Remove leftovers

* api: Added rust wrappers for the ImHexAPI

* rust: Fixed compile flags with older gcc/clang

* build: Enable concepts for cxx.rs

* build: Explicitly set compiler for cxx.rs

* rust: Added imgui-rs to libimhex-rust

* rust: Export functions with double underscore prefix on mac

* rust: Export functions adjusted for ABI

* Add Rust target folder to gitignore

* Add vendored imgui-rs copy

* Add Context::current() to vendored imgui-rs

* Fix libimhex not exporting cimgui symbols

* Simplify plugin export mangling

* build: Fixed cimgui linking

* build: Only specify --export-all-symbols on Windows

* Add context setting to Rust plugins

* rust: Cleanup

* deps: Update curl

Co-authored-by: jam1garner <8260240+jam1garner@users.noreply.github.com>
2021-10-16 11:37:29 +02:00
..
concepts.hpp fix: Inverted logic when checking for libmagic error 2021-09-09 01:56:48 +02:00
crypto.hpp views: Add simple pattern, library and magics store 2021-09-03 02:34:40 +02:00
file.hpp sys: Fix macOS compilation (as of 2dc1886) (#317) 2021-10-09 23:07:58 +02:00
fmt.hpp sys: More compile time improvements 2021-08-29 22:15:18 +02:00
lang.hpp Fixed localization issues when using the content registry 2021-02-13 15:15:32 +01:00
literals.hpp tools: Added file shredder, splitter and combiner 2021-09-22 17:56:06 +02:00
logger.hpp build/plugins: Added initial support for Rust plugins (#327) 2021-10-16 11:37:29 +02:00
magic.hpp sys: Cleanup libmagic mess 2021-09-06 16:15:05 +02:00
net.hpp views: Add simple pattern, library and magics store 2021-09-03 02:34:40 +02:00
paths_mac.h sys: Fix macOS compilation (as of 2dc1886) (#317) 2021-10-09 23:07:58 +02:00
paths.hpp sys: Move imhex path resolution away from utils 2021-09-03 02:33:15 +02:00
shared_data.hpp tools: Added file shredder, splitter and combiner 2021-09-22 17:56:06 +02:00
utils.hpp sys: Fix macOS compilation (as of 2dc1886) (#317) 2021-10-09 23:07:58 +02:00