Skip to content

Tracking Issue for c"…" string literals #105723

Description

@tmandry

This is a tracking issue for the RFC "c"…" string literals" (rust-lang/rfcs#3348).
The feature gate for the issue is #![feature(c_str_literals)].

Steps / History

Unresolved Questions

  • Also add c'…' C character literals? (u8, i8, c_char, or something more flexible?)
  • Should we make &CStr a thin pointer before stabilizing this? (If so, how?)
  • Should the (unstable) concat_bytes macro accept C string literals? (If so, should it evaluate to a C string or byte string?)
  • Should there be a valid UTF-8 C string type that c"..." string literals support? (comment 1, comment 2)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCF-c_str_literals`#![feature(c_str_literals)]`T-langRelevant to the language team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions