diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000000..189247dcf8 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,4 @@ +[build] +rustflags = [ + # "--cfg", "windows_debugger_visualizer", +] diff --git a/.github/workflows/debugger_visualizer.yml b/.github/workflows/debugger_visualizer.yml index 21e6ee318c..40e1b9ed41 100644 --- a/.github/workflows/debugger_visualizer.yml +++ b/.github/workflows/debugger_visualizer.yml @@ -7,7 +7,7 @@ on: - master env: - RUSTFLAGS: -Dwarnings + RUSTFLAGS: -Dwarnings --cfg windows_debugger_visualizer jobs: test: diff --git a/crates/libs/windows/Cargo.toml b/crates/libs/windows/Cargo.toml index 67cba473a1..f352dccfba 100644 --- a/crates/libs/windows/Cargo.toml +++ b/crates/libs/windows/Cargo.toml @@ -689,7 +689,3 @@ Win32_UI_WindowsAndMessaging = ["Win32_UI"] Win32_UI_Wpf = ["Win32_UI"] Win32_UI_Xaml = ["Win32_UI"] Win32_UI_Xaml_Diagnostics = ["Win32_UI_Xaml"] - -# These features are unstable and require Rust nightly: -debugger_visualizer = [] - diff --git a/crates/libs/windows/src/lib.rs b/crates/libs/windows/src/lib.rs index a3dec057d5..ddf7b127df 100644 --- a/crates/libs/windows/src/lib.rs +++ b/crates/libs/windows/src/lib.rs @@ -4,7 +4,7 @@ Learn more about Rust for Windows here: