fail and fail_bounds_checks lang items should take &'static str
not *u8
#12378
Labels
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
These lang items are currently defined as
We convert the expr and file arguments to
&'static str
viaunsafe
internally, but we could just avoid this and have the compiler emit them as slices rather than C strings.cc #12357.
The text was updated successfully, but these errors were encountered: