C++: Make it working to have experimental withoud std

This commit is contained in:
Olivier Goffart 2023-07-18 12:28:45 +02:00 committed by Olivier Goffart
parent 7cffad2c3f
commit 1805e6c4c1
4 changed files with 9 additions and 5 deletions

View file

@ -23,7 +23,7 @@ fn main() -> Result<(), anyhow::Error> {
let enabled_features = EnabledFeatures {
interpreter: std::env::var("CARGO_FEATURE_SLINT_INTERPRETER").is_ok(),
experimental: std::env::var("CARGO_FEATURE_SLINT_INTERPRETER").is_ok(),
experimental: std::env::var("CARGO_FEATURE_EXPERIMENTAL").is_ok(),
backend_qt: std::env::var("CARGO_FEATURE_BACKEND_QT").is_ok(),
std: std::env::var("CARGO_FEATURE_STD").is_ok(),
};