-
-
Notifications
You must be signed in to change notification settings - Fork 17.2k
Allow CStr and CString types to be used with no_std #46736
Copy link
Copy link
Closed
Labels
A-FFIArea: Foreign function interface (FFI)Area: Foreign function interface (FFI)C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]
Description
Activity
Metadata
Metadata
Assignees
Labels
A-FFIArea: Foreign function interface (FFI)Area: Foreign function interface (FFI)C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]
Embedded code may interact with C and thus may find these types useful. It'd make sense to allow usage of
CStrin libcore andCStringin liballoc.Of course, right now due to the way implementations work in the standard library it may not be possible to include
CStrin libcore. However, moving it to liballoc is still a step up.