Skip to content

Add cstr crate#16

Merged
Turbo87 merged 1 commit into
mainfrom
cstr
Jun 16, 2026
Merged

Add cstr crate#16
Turbo87 merged 1 commit into
mainfrom
cstr

Conversation

@Turbo87

@Turbo87 Turbo87 commented Jun 16, 2026

Copy link
Copy Markdown
Member

C-string literals (c"...") have been stable since Rust 1.77 and produce a &'static CStr from a string or byte-string literal, which is why the crate is deprecated. The macro's identifier form (cstr!(name)) has no direct equivalent, so this is flagged as a partial replacement.

@upsuper 👋 does this seem accurate to you? any objections? (see rust-lang/crates.io#13855 for more information)

@Turbo87
Turbo87 merged commit 51bde67 into main Jun 16, 2026
2 checks passed
@Turbo87
Turbo87 deleted the cstr branch June 16, 2026 21:01
@Turbo87

Turbo87 commented Jun 16, 2026

Copy link
Copy Markdown
Member Author

thanks for the confirmation :)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants