P-E-P

Results 89 comments of P-E-P

Also, we can't even make modules because there is a bug during typechecking with modules. Will open an issue later with a minimized example.

> IIUC, this is mostly some copy/paste + adjustment from `rustc`'s `libstd`? We should probably have matching copyright/license info ? I was wondering what should be the appropriate header. It...

> And then ("the next part") we should add a check that the object files that Cargo produces for a simple (dummy) crate can actually be linked into the GCC...

> do you want me to take care of the CI issue? @CohenArthur Yes please. I won't be able to work on it for a while.

@tschwinge I'm a bit lost, should we merge this ? IIRC we already sent this upstream, so we should technically close this PR right ?

> > @tschwinge I'm a bit lost, should we merge this ? IIRC we already sent this upstream, so we should technically close this PR right ? > > I...

I'll wait for #2979 to be merged first.

> Also, I'm not really sure how this impacts error reporting... What if we report an error after the HIR lowering. Do we already have a mechanism to make sure...

> @P-E-P do you know if there's a way to mark a test XFAIL only for a given target (nr2)? I don't think I can debug this issue as I...

It's been a long time since I last updated this PR. This was compiling fine but there was a lot of errors (mainly use after free and segfaults). So even...