Skip to content

More robust support for conditional compilation #489

@brson

Description

@brson

Use item attributes to support conditional compilation. Items marked with a certain attribute, e.g. #[cfg(test)] will only be translated when rustc is passed a flag for the 'test' configuration.

Remove the target_os hack (as used in std.rc)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions