Skip to content

Remove ndebug and replace with compiler flags (RFC 563) #22492

Closed

Description

@nikomatsakis

Tracking issue for rust-lang/rfcs#563.

Nominating.

Activity

  1. pnkfelix commented on Feb 26, 2015

    @pnkfelix
    Contributor

    P-backcompat-lang, 1.0 beta.

  2. added this to the 1.0 beta milestone on Feb 26, 2015
  3. nikomatsakis commented on Feb 28, 2015

    @nikomatsakis
    ContributorAuthor

    We have to figure out who is going to implement this.

    cc @Aatch @alexcrichton @brson @huonw -- you guys seem like likely candidates and/or had strong opinions on the RFC thread, are any of you interested?

  4. alexcrichton commented on Mar 2, 2015

    @alexcrichton
    Member

    I can implement this.

  5. 3 remaining items

  6. added a commit that references this issue on Mar 6, 2015
    efb487b
  7. rprichard commented on Mar 7, 2015

    @rprichard
    Contributor

    Cargo has a profile setting, "debug = false", that passes --cfg ndebug to rustc. Link to code. Should this be changed to --cfg debug_assertions?

  8. rprichard commented on Mar 7, 2015

    @rprichard
    Contributor

    Cargo has a profile setting, "debug = false", that passes --cfg ndebug to rustc. Link to code. Should this be changed to --cfg debug_assertions?

    This specific change is probably wrong, but maybe Cargo should not be passing --cfg ndebug anymore.

  9. alexcrichton commented on Mar 9, 2015

    @alexcrichton
    Member

    Yes I think cargo needs to grow support for this specific option as well, can you open a bug in the Cargo repo for this feature?

  10. rprichard commented on Mar 10, 2015

    @rprichard
    Contributor

    I filed this issue, rust-lang/cargo#1398.

  11. added 2 commits that reference this issue on Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions