Rust-GCC / Rust-GCC/gccrs

gccrs cannot print the expected filenames

Open
#490 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

plan Rust Integrations
Dominant language
C++
Stars
2.9k
Forks
230
Avg merge
19h 55m
Merged PRs (30d)
67

Description

rustc - --crate-name ___ --print=file-names --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro

produces the following output

___
lib___.rlib
lib___.so
lib___.so
lib___.a
lib___.so

Right now, gccrs does not print the expected file names nor does it have the required options.

gccrs also does not understand the concept of rlib or proc-macro

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

No source files or tests are named. Start by comparing the shown rustc command and output with gccrs's existing option handling, then determine how rlib and proc-macro are represented. Done means gccrs accepts the required options and prints the expected filenames for the command shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, rust
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.