Skip to content

profile-rustflags doesnt make cargo recompile the thing #11120

@Hezuikn

Description

@Hezuikn

Problem

adding, removing, changing profile rustflags doesnt make cargo recompile the thing

Steps

  • cargo clean
  • add rustflags = ["test"] to profile override
  • cargo build
  • comment out or replace with rustflags = []
  • cargo build
  • undo comment and replace with invalid flag
  • cargo build (passes but it shouldnt)

Possible Solution(s)

#11121

Notes

tracker #10271

Version

1.65.0 not that it matters

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions