Polyglot Rust C

Guidance for creating polyglot source files that compile and run correctly as both Rust and C/C++ programs. This skill should be used when asked to create code that is valid in multiple programming languages simultaneously, particularly Rust and C/C++ polyglots.

lazyfroglol Updated 129 repo stars

File contents

lazyfroglol/harness_engineering commit 31a0bec7d9

Frequently asked questions

npx get-skill add lazyfroglol/polyglot-rust-c