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.
I would like to work on this issue to learn more about the Rust compiler process. However I am not that well acquainted with rust compiler process. I have just read through the basic rust dev guide, can I still work on this issue?
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: