Frando / rust-faust

Easily use FAUST DSPs in Rust
Apache License 2.0
55 stars 12 forks source link

feature request: add arbitrary arguments to build command #23

Closed magnetophon closed 6 months ago

magnetophon commented 7 months ago

The faust compiler has a whole slew of useful command line arguments. For example -t 0 makes sure the compiler doesn't time-out, or -vec tries to generate easy to vectorize code.

So, a .with_arg() method for FaustBuilder::new would be very handy.

The project I'm working on will often time-out while compiling, so currently I'm using a local checkout of rust-faust where I added:

.arg("-t")
 .arg("0")

to lib.rs.

obsoleszenz commented 6 months ago

See https://github.com/Frando/rust-faust/pull/25