Skip to content

michitsuki/fakerustc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fakerustc

Fake rustc to trick Cargo into building C++ code

why?

I got bored and had a funny idea in economics class.

Build and usage

g++ fakerustc.cpp -o fakerustc

Put the file in path and add

[build]
rustc = "fakerustc"

to your .cargo/config.toml

use cargo init to create a new rust project, put your C++ in main.rs like normal.

About

Fake rustc to trick Cargo into building C++ code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages