Skip to content

This is some example code of calling Assembly from Rust and calling Rust from Assembly.

License

Notifications You must be signed in to change notification settings

monad/rust-calling-assembly-calling-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-calling-assembly-calling-rust

This is some example code of calling Assembly from Rust and calling Rust from Assembly.

what

It's a Rust function, which calls a label written in Assembly, which calls a (different) exported Rust function.

why

There were no good examples on how to do either of those things.

how 2 build

I've tested with Nightly and Stable as of the time of this writing and it works, I kind of need this so if it breaks I'll probably update it. Or you can PR.

About

This is some example code of calling Assembly from Rust and calling Rust from Assembly.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published