run rustfmt
This commit is contained in:
@@ -134,7 +134,7 @@ pub fn index_static_strings(instruction_rs_path: &std::path::Path) -> TokenStrea
|
|||||||
Ok(s) => s,
|
Ok(s) => s,
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
println!("cargo::warning=parse error: {e} in file {path:?}");
|
println!("cargo::warning=parse error: {e} in file {path:?}");
|
||||||
syn::File{
|
syn::File {
|
||||||
shebang: None,
|
shebang: None,
|
||||||
attrs: vec![],
|
attrs: vec![],
|
||||||
items: vec![],
|
items: vec![],
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ impl IndexMut<RegType> for MachineState {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub type CallResult<Ok=()> = Result<Ok, Vec<FunctorElement>>;
|
pub type CallResult<Ok = ()> = Result<Ok, Vec<FunctorElement>>;
|
||||||
|
|
||||||
// size may be an upper bound.
|
// size may be an upper bound.
|
||||||
// true_size is calculated to compute the exact offset.
|
// true_size is calculated to compute the exact offset.
|
||||||
|
|||||||
@@ -284,8 +284,6 @@ fn ffi_cstr() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(miri, ignore = "ffi")]
|
#[cfg_attr(miri, ignore = "ffi")]
|
||||||
fn ffi_heap() {
|
fn ffi_heap() {
|
||||||
|
|||||||
Reference in New Issue
Block a user