Remix.run Logo
aldanor 3 months ago

You mean cargo build

yjftsjthsd-h 3 months ago | parent [-]

... can cargo build things that aren't rust? If yes, that's really cool. If no, then it's not really in the same problem domain.

kouteiheika 3 months ago | parent | next [-]

No it can't.

It can build a Rust program (build.rs) which builds things that aren't Rust, but that's an entirely different use case (building non-Rust library to use inside of Rust programs).

crabbone 3 months ago | parent | prev [-]

There's GprBuild (Ada tool) that can build C (not sure about C++). It also has more elaborate configuration structure, but I didn't use it extensively to tell what exactly and how exactly does it do it. In combination with Alire it can also manage dependencies Cargo-style.

touisteur 3 months ago | parent [-]

Got it to build C++, CUDA and IIRC SYCL too.