Skip to content

What about disabling telemetry feature on msvc target? #33004

@pravic

Description

@pravic

Preface:
I am not familar with it actually, only digged into compiled binary and found references to the telemetry triggers (e.g. __telemetry_main_invoke_trigger). Quick googleing gived following links: small article at google cache and how to disable it.

So, for example, I want to disable telemetry in my compiled binaries. I need either to link that notelemetry.obj or to use the previous MSVC toolchain (2013 iirk).

What is the easier way to do it for all cargo projects? I found only one via set RUSTFLAGS=-C link-args=notelemetry.obj and with the similar key in .cargo/config.

Anyway, it is a one more reason to use the own runtime library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-windows-msvcToolchain: MSVC, Operating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions