You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#![no_std]#![no_builtins]#[no_mangle]#[inline(never)]pubunsafefnset_bytes_bytes(muts:*mutu8,c:u8,n:usize){let end = s.add(n);while s < end {*s = c;
s = s.add(1);}}
Even with the #![no_builtins] attribute, the above loop is replaced by a call to memset. This is problematic when compiling compiler_builtins, because memset end up recursively calling itself.
Even with the
#![no_builtins]
attribute, the above loop is replaced by a call tomemset
. This is problematic when compilingcompiler_builtins
, becausememset
end up recursively calling itself.The text was updated successfully, but these errors were encountered: