use crate::*;
-pub(crate) fn alloc_env_value<'mir, 'tcx>(bytes: &[u8], memory: &mut Memory<'mir, 'tcx, Evaluator<'tcx>>, tcx: &TyCtxt<'tcx>) -> Pointer<Tag> {
+pub(crate) fn alloc_env_value<'mir, 'tcx>(
+ bytes: &[u8],
+ memory: &mut Memory<'mir, 'tcx, Evaluator<'tcx>>,
+ tcx: &TyCtxt<'tcx>,
+) -> Pointer<Tag> {
let length = bytes.len() as u64;
// `+1` for the null terminator.
let ptr = memory.allocate(
flags.push(format!("--sysroot {}", sysroot));
}
- // Add a test env var to do evironment communication tests
+ // Add a test env var to do environment communication tests
std::env::set_var("MIRI_ENV_VAR_TEST", "0");
// The rest of the configuration.