Closed
Description
When I use cargo to set [profile.dev]
to use opt-level = 1
, cargo build
fails with this error. Any other opt-level and it's fine.
Attributes 'readnone and readonly' are incompatible!
void ({ i8*, void (i8*)** }*, { i8*, void (i8*)** }*)* @"_ZN25Box$LT$CloneAny$GT$.Clone5clone20hea41b2e97e38689bjhaE"
LLVM ERROR: Broken function found, compilation aborted!
The project that I'm getting this error on is private for now, but it is breaking when compiling typemap v0.2.1.