mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
Fix formatting
This commit is contained in:
+5
-1
@@ -3,7 +3,11 @@
|
||||
|
||||
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(
|
||||
|
||||
@@ -37,7 +37,7 @@ fn run_tests(mode: &str, path: &str, target: &str, mut flags: Vec<String>) {
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user