Document common manipulations and operations #91
Labels
A-contributor-onboarding
Area: contributor on-boarding advice (e.g. for new contributors)
A-examples
Area: examples
C-enhancement
Category: enhancement
E-help-wanted
Call for participation: extra help is wanted
E-medium
Difficulty: might require some prior knowledge or code reading
T-compiler
Relevant to compiler team
While playing around using rustc internals as a library I found it was pretty difficult to discover how to do a bunch of "common" operations. We might be able to improve discoverability by documenting these in an appendix.
Off the top of my head, it'd be nice to know how to:
c_char
->libc::c_char
orstd::os::raw::c_char
, depending on context)Path
for a givenItem
Feel free to add other "common" questions or shortcuts in the comments and I'll update this list accordingly.
CC: #74
The text was updated successfully, but these errors were encountered: