Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
(cherry picked from commit af9d6cb)

# Conflicts:
#	packages/vm/src/modules/file_system_cache.rs
  • Loading branch information
chipshort authored and mergify[bot] committed Dec 12, 2024
1 parent d124ce3 commit 6555f97
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/std/src/math/signed_decimal_256.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ impl SignedDecimal256 {
/// Create a -1.0 SignedDecimal256
#[inline]
pub const fn negative_one() -> Self {
// -DECIMAL_FRATIONAL
// -DECIMAL_FRACTIONAL
Self(Int256::from_i128(-1_000_000_000_000_000_000))
}

Expand Down
15 changes: 15 additions & 0 deletions packages/vm/src/modules/file_system_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,12 +405,27 @@ mod tests {
};
let target = Target::new(triple, wasmer::CpuFeature::POPCNT.into());
let p = modules_path(&base, 17, &target);
<<<<<<< HEAD
assert_eq!(
p.as_os_str(),
if cfg!(windows) {
"modules\\v11-wasmer17\\x86_64-nintendo-fuchsia-gnu-coff-01E9F9FE"
} else {
"modules/v11-wasmer17/x86_64-nintendo-fuchsia-gnu-coff-01E9F9FE"
=======
let discriminator = raw_module_version_discriminator();

assert_eq!(
p.as_os_str(),
if cfg!(windows) {
format!(
"modules\\{discriminator}-wasmer17\\x86_64-nintendo-fuchsia-gnu-coff-01E9F9FE"
)
} else {
format!(
"modules/{discriminator}-wasmer17/x86_64-nintendo-fuchsia-gnu-coff-01E9F9FE"
)
>>>>>>> af9d6cb29 (Fix typos)
}
);
}
Expand Down

0 comments on commit 6555f97

Please sign in to comment.