Skip to content

Support cfg_attr #5548

@mehmooda

Description

@mehmooda

It seems the following is currently not supported:

#[cfg_attr(target_os = "windows", path = "os_windows.rs)]
mod os;

I've had to do the following:

#[cfg(target_os = "windows")]
mod os_windows;
#[cfg(target_os = "windows")]
use os_windows as os;

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions