Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions capnpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ impl CompilerCommand {
/// Adds the --no-standard-import flag, indicating that the default import paths of
/// /usr/include and /usr/local/include should not bet included.
pub fn no_standard_import(&mut self) -> &mut CompilerCommand {
assert!(!self.no_standard_import, "no_standard_import() must only be called once");

self.no_standard_import = true;
self
}
Expand All @@ -150,8 +148,6 @@ impl CompilerCommand {
where
P: AsRef<Path>,
{
assert!(self.executable_path.is_none(), "output_path() must only be called once");

self.output_path = Some(path.as_ref().to_path_buf());
self
}
Expand All @@ -162,8 +158,6 @@ impl CompilerCommand {
where
P: AsRef<Path>
{
assert!(self.executable_path.is_none(), "capnp_executable() must only be called once");

self.executable_path = Some(path.as_ref().to_path_buf());
self
}
Expand Down