mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
b7f337e4b2
This reduces the vendor size of the standard library from 37MB to 20MB.
17 lines
540 B
TOML
17 lines
540 B
TOML
# dlmalloc has a dependency on windows-sys for when it gets compiled for Windows.
|
|
# std however never actually uses dlmalloc on Windows. As dlmalloc is the only
|
|
# user of windows-sys in the standard library, the windows-sys crate unnecessarily
|
|
# increases the size of the vendored crates. By replacing it with an empty crate
|
|
# we save about 19MB.
|
|
|
|
[package]
|
|
name = "windows-sys"
|
|
version = "0.61.100"
|
|
edition = "2024"
|
|
|
|
[features]
|
|
Win32_Foundation = []
|
|
Win32_System_Memory = []
|
|
Win32_System_Threading = []
|
|
Win32_System_SystemInformation = []
|