blob: 713af68aa0c17916d2f12f4ee79571bdaaf9633e [file] [log] [blame]
// Copyright 2025 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
pub fn say_hello_host() -> &'static str {
"Hello, host Rust!"
}
fn main() {
println!("{}", say_hello_host())
}
#[cfg(test)]
mod test {
use super::*;
#[test]
fn test_hello() {
assert_eq!("Hello, host Rust!", say_hello_host());
}
}