Skip to content

Commit

Permalink
build.rs: Remove redundant and unneeded assertion.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Feb 27, 2024
1 parent e7fd4c9 commit 1cdfe00
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,7 @@ fn generate_sources_and_preassemble<'a>(
perlasm(&perl_exe, &perlasm_src_dsts, asm_target);

if asm_target.use_nasm() {
// Preassembly is currently only done for Windows targets.
assert_eq!(&asm_target.oss, &[WINDOWS]);

let srcs = asm_srcs(perlasm_src_dsts);

for src in srcs {
nasm(&src, asm_target.arch, out_dir, out_dir);
}
Expand Down

0 comments on commit 1cdfe00

Please sign in to comment.