Skip to content

x86_64 msvc: warning: rustc_llvm@0.0.0: Inherited flag "/Oy-" is not supported by the currently used CC #134657

Closed
rust-lang/cc-rs
#1330
@jieyouxu

Description

@jieyouxu

On my native x86_64-pc-windows-msvc environment, I am observing the warnings:

   Compiling rustc_ast_passes v0.0.0 (X:\repos\rust\compiler\rustc_ast_passes)
   Compiling rustc_expand v0.0.0 (X:\repos\rust\compiler\rustc_expand)
   Compiling rustc_builtin_macros v0.0.0 (X:\repos\rust\compiler\rustc_builtin_macros)
warning: rustc_llvm@0.0.0: Inherited flag "/Oy-" is not supported by the currently used CC
warning: rustc_llvm@0.0.0: Inherited flag "/Oy-" is not supported by the currently used CC
warning: rustc_llvm@0.0.0: Inherited flag "/Oy-" is not supported by the currently used CC
warning: rustc_llvm@0.0.0: Inherited flag "/Oy-" is not supported by the currently used CC
warning: rustc_llvm@0.0.0: Inherited flag "/Oy-" is not supported by the currently used CC
warning: rustc_llvm@0.0.0: Inherited flag "/Oy-" is not supported by the currently used CC
   Compiling rustc_infer v0.0.0 (X:\repos\rust\compiler\rustc_infer)
   Compiling rustc_mir_dataflow v0.0.0 (X:\repos\rust\compiler\rustc_mir_dataflow)
   Compiling rustc_metadata v0.0.0 (X:\repos\rust\compiler\rustc_metadata)
   Compiling rustc_pattern_analysis v0.0.0 (X:\repos\rust\compiler\rustc_pattern_analysis)

This is probably related to the cc bumps we done recently... FYI @clubby789 :ferrisClueless: I have not tried to bisect this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-windows-msvcToolchain: MSVC, Operating system: WindowsT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions