rust-lang / rust-lang/rust-bindgen

Take input from standard input

Open
#2,703 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.