We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c18ac5c commit c59d45bCopy full SHA for c59d45b
core/src/ffi/c_str.rs
@@ -82,6 +82,7 @@ use crate::str;
82
#[cfg_attr(not(test), rustc_diagnostic_item = "CStr")]
83
#[stable(feature = "core_c_str", since = "1.64.0")]
84
#[rustc_has_incoherent_inherent_impls]
85
+#[cfg_attr(not(bootstrap), lang = "CStr")]
86
// FIXME:
87
// `fn from` in `impl From<&CStr> for Box<CStr>` current implementation relies
88
// on `CStr` being layout-compatible with `[u8]`.
0 commit comments