Skip to main content

console_env/
env.rs

1// Copyright 2026 The Fuchsia Authors
2//
3// Use of this source code is governed by a MIT-style
4// license that can be found in the LICENSE file or at
5// https://opensource.org/licenses/MIT
6
7#![no_std]
8
9pub const BOOT_TEST_SUCCESS_STRING: &core::ffi::CStr = unsafe {
10    core::ffi::CStr::from_bytes_with_nul_unchecked(
11        core::concat!(core::env!("BOOT_TEST_SUCCESS_STRING"), "\0").as_bytes(),
12    )
13};