[rust-dev] Compile-time function evaluation in Rust

comex comexk at gmail.com
Tue Jan 28 15:28:50 PST 2014


Devil's advocate: CTFE and procedural macros would both allow
arbitrary Rust code to be evaluated at compile time.  Is there any
sane way to combine them rather than making them separate islands?

Personally, I want a way to run arbitrary code at compile time that
can introspect on and possibly generate type information, although
that's different.


More information about the Rust-dev mailing list