Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
dhil committed Dec 3, 2024
1 parent 16eba50 commit 2e72dba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion crates/cranelift/src/wasmfx/baseline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ use cranelift_frontend::{FunctionBuilder, Switch};
use wasmtime_environ::PtrSize;
use wasmtime_environ::{WasmResult, WasmValType};

#[cfg_attr(not(feature = "wasmfx_baseline"), allow(unused_imports, reason = "TODO"))]
#[cfg_attr(
not(feature = "wasmfx_baseline"),
allow(unused_imports, reason = "TODO")
)]
#[cfg_attr(feature = "wasmfx_no_baseline", allow(unused_imports, reason = "TODO"))]
pub(crate) use shared::{assemble_contobj, disassemble_contobj, vm_contobj_type};

Expand Down
3 changes: 2 additions & 1 deletion crates/environ/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
//! linear memories.
#![deny(missing_docs, warnings)]
#![allow(clippy::allow_attributes_without_reason)] // TODO(dhil): added by me to silence clippy. It complains about some macro-generated attribute, which I have yet to locate.
#![allow(clippy::allow_attributes_without_reason)]
// TODO(dhil): added by me to silence clippy. It complains about some macro-generated attribute, which I have yet to locate.
#![warn(clippy::cast_sign_loss)]
#![no_std]

Expand Down

0 comments on commit 2e72dba

Please sign in to comment.