1 // Copyright 2023 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 say_something() -> String5pub fn say_something() -> String { 6 #[cfg(feature = "bar_feature")] 7 { 8 "bar".to_string() 9 } 10 #[cfg(not(feature = "bar_feature"))] 11 { 12 "foo".to_string() 13 } 14 } 15