Skip to content

Commit

Permalink
Merge pull request #1478 from valpackett/patch-1
Browse files Browse the repository at this point in the history
codegen: build tests on all unix platforms
  • Loading branch information
sdroege committed Jul 3, 2023
2 parents 3a2fdae + a20ad1d commit b38a7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen/sys/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ fn generate_abi_rs(
info!("Generating file {:?}", path);
general::start_comments(w, &env.config)?;
writeln!(w)?;
writeln!(w, "#![cfg(target_os = \"linux\")]")?;
writeln!(w, "#![cfg(unix)]")?;
writeln!(w)?;

if !ctypes.is_empty() {
Expand Down

0 comments on commit b38a7b1

Please sign in to comment.