Skip to content

Tracking Issue --extern crate modifiers #98405

Description

@petrochenkov

This is a tracking issue for command line option syntax currently used by several modifiers affecting behavior of extern crates.
Specific tracking issues for those modifiers:

The currently used syntax is

--extern [MODIFIERS:]NAME[=PATH]

Before stabilization it should likely be harmonized with command line syntax already used for native library modifiers, see item (3) in #93901 (comment).

  • Modifiers can be converted to +/- form
    • priv - +priv or -pub
    • noprelude - -prelude
    • nounused - +used
  • Position of the MODIFIERS component in the option can also be changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions