rust-lang / rust-lang/rust-bindgen
Take input from standard input
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 5.3k
- Forks
- 829
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 15
Description
I would like to pipe the output of the c preprocessor directly in to bindgen for a Makefile of mine. Could bindgen take standard input by specifying a file as - or not specifying one at all?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue requests that bindgen accept C preprocessor output from standard input, either through - or by omitting the input path, for a Makefile pipeline. No file or test is named; start by locating bindgen's command-line input handling, then verify that piped input produces bindings and clarify the intended distinction between - and an omitted path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100