Skip to content

Tracking Issue for proc_macro_c_str_literals #119750

Description

@novafacing

Feature gate: #![feature(proc_macro_c_str_literals)]

This is a tracking issue for C String literals in proc macros under #105723 and #118560, with an implementation in #119651.

This feature adds an API to construct a proc_macro::Literal C string directly.

Public API

let lit: Literal = Literal::c_string(&CString::new("Hello, world!").unwrap());

Steps / History

Unresolved Questions

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

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-api[DEPRECATED; DO NOT USE]disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions