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
Copy file name to clipboardExpand all lines: text/3348-c-str-literal.md
+5
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,12 @@ Interactions with string related macros:
95
95
# Unresolved questions
96
96
[unresolved-questions]: #unresolved-questions
97
97
98
+
- Also add `c'…'` as [`c_char`](https://doc.rust-lang.org/stable/core/ffi/type.c_char.html) literal?
99
+
100
+
It'd be identical to `b'…'`, except it'd be a `c_char` (`i8`) instead of `u8`.
101
+
98
102
- Should we make `&CStr` a thin pointer before stabilizing this? (If so, how?)
103
+
99
104
- Should the (unstable) [`concat_bytes` macro](https://github.com/rust-lang/rust/issues/87555) accept C string literals? (If so, should it evaluate to a C string or byte string?)
0 commit comments