Skip to content

Pistonite/megaton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

megaton

NOTE: If you were using the megaton tool for build C projects, please continue using the old branch while the new tool is being developed (to support Rust, etc). ETA for the new tool is July 2026.

In Development and VERY unstable

Megaton is a build tool and support library for embedding Rust in a NSO binary. (name reference)

License

The megaton CLI tool is MIT licensed. The megaton framework is GPL-3.0-or-later. See Lisensor.toml for more information.

Note that this means projects based on megaton framework needs to use a GPLv3 compatible license.

Install

TODO

Components

This project has the following components:

  • rustc: Scripts to build rust with the targets we need
  • TODO runtime:
    • TODO Rust library and proc macros for setting up your rust app code
    • TOOD Basic implementation in C to get the NSO loaded by rtld
    • TODO absorb/rewrite exlaunch: A fork/modified version of exlaunch that adds runtime patching and hooking support
    • TODO hermit: Proxy to forward hermit syscalls to NNSDK. This is a staticlib linked into the final ELF
  • TODO hammer: CLI tool for building megaton projects

About

A build tool and support library for embedding Rust in NX applications

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •