Closed bbqsrc closed 3 years ago
LGTM! Could we add a test that uses #[no_mangle]
?
Mm, all the current tests are failing without my changes as the asm output is not what it expects or line numbers in libcore have changed, so I'm not even sure where I'd begin with that.
hmm, yes the test only pass with a specific rustc version :/
Does as it says on the can.
The awkward
if
statement is because on Apple the non-mangled functions are only_
, even though mangled are__
, so it would always fail otherwise.