Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

ubolonton/emacs-rs-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated: This is now part of https://github.com/ubolonton/emacs-module-rs.

Emacs Rust Module

This is an Emacs dynamic module written in Rust that aims to streamline development of other Emacs dynamic modules.

Installation

Build:

cargo build

Load the module in Emacs:

(module-load "/path/to/emacs-rs-module/target/debug/libemacs_rs_module.dylib")

Live reloading another module

To be reloadable, the module must export an entry point named emacs_rs_module_init. See example-rs-module.

Run this in Emacs after each cargo build to reload the module:

(rs-module/load "/path/to/my-module/target/debug/libmy_module.dylib")