Skip to content

Writing Rust Modules #477

Discussion options

You must be logged in to vote

Hello - a couple of follow up questions. Do you want to compile Rust modules for mainline emacs, or do you want to make a Rust module in emacs-ng?

If you want to make a standalone Rust module that can be integrated into mainline emacs, there is the excellent repo https://github.com/ubolonton/emacs-module-rs which contains a Rust package that will allow you to produce a compatible shared library that can be used in mainline emacs. I have a personal example of such a module: https://github.com/DavidDeSimone/ng-js

If you want to make a module that is statically linked to emacs-ng, then you should start by looking in the rust_src directory of emacs-ng (https://github.com/emacs-ng/emacs-ng/tre…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@thiskappaisgrey
Comment options

Answer selected by thiskappaisgrey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants