Skip to content

Commit 13e64b0

Browse files
committed
windows fix and typo
1 parent 07ca09a commit 13e64b0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/packaging/metadata.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,13 @@ fn rewrite_binary_prefix(
194194
search_start = pos + 1;
195195
}
196196

197+
mmap.flush()?;
197198
Ok(())
198199
}
199200

200201
#[cfg(target_family = "windows")]
201202
{
203+
let _ = (file_path, old_prefix, new_prefix);
202204
Err(PackagingError::IoError(io::Error::new(
203205
ErrorKind::Unsupported,
204206
"Binary prefix replacement is not supported on Windows",

src/types/build_output.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use crate::{
2424
types::{BuildConfiguration, BuildSummary, PlatformWithVirtualPackages},
2525
};
2626

27-
/// A output. This is the central element that is passed to the `run_build`
27+
/// An output. This is the central element that is passed to the `run_build`
2828
/// function and fully specifies all the options and settings to run the build.
2929
#[derive(Debug, Clone, Serialize, Deserialize)]
3030
pub struct BuildOutput {

0 commit comments

Comments
 (0)