Skip to content

metaverse-kernel/jointcomp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

JointComp

Joint compileation of various languages and assembly language.

Just write a target list in build.rs to joint compile your multiple lang project.

A simple example:

targets! {
    GccAsm {
        "main.S",
        "test.S",
    };
    #[cfg(target_arch = "x86_64")]
    GccAsm {
        "arch/$/foo.S" : "include/$/bar.h",
    };
    LinkerScript { "myscript-$.lds" };
    LinkerMap { "target.map" };
}

About

Joint Compilation for rust crate.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages