-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Hi, I'm trying to write some elisp bindings to a rust library and would like to benefit from live reloading.
Looking at the workflow shown in magit-libgit2, I've:
- Copied
bin/load.shand modified the file names for my project - Added
emacs-rs-moduleto my dev dependencies - Tried to run the script using
cargo-watchas shown in the aforementioned project's readme
But it doesn't seem to work - find "$root" -iname "*emacs_rs_module*.$ext" returns nothing.
Furthermore, I can't find any file that looks like *emacs_rs_module*.so anywhere in my project (after a build of course).
Is this workflow just broken at the moment?
Maybe some build script machinery could be used to have a more ergonomic workflow?
I'm not sure I know enough about how emacs (and linux I guess) loads dynamic libraries to work on it myself, but I feel like it could possibly make this a bit more ergonomic (e.g. automate the whole .so/.dylib symlinking thing, generate elisp files that modify the load path and require the module).