Make c2rust-analyze
be a cargo
and rustc
wrapper like c2rust-instrument
is now
#709
Labels
c2rust-analyze
be a cargo
and rustc
wrapper like c2rust-instrument
is now
#709
It appears this is now necessary to analyze the full, amalgamated (#871) (or not, just full)
lighttpd
. Fulllighttpd
has bitfields, and thus depends onc2rust-bitfields
. Having a crate dependency that's not the bundledlibc
(which we can get away with anextern crate libc
and nocargo
) complicates things a lot, as therustc
invocation we pass toc2rust-analyze
gets way more complex, and depends on previousrustc
invocations for dependencies. Thus, I think the best way forward to is to wrapcargo
and let it does what it's meant to do instead of trying to re-implement any of that. We can base this on howc2rust-instrument
is currently wrappingrustc
, which itself was based onmiri
,clippy
, and otherrustc
-wrappers.The text was updated successfully, but these errors were encountered: