config
}
-/// Benchmark of the full `resovle_ws_with_opts` which runs the resolver
+/// Benchmark of the full `resolve_ws_with_opts` which runs the resolver
/// twice, the feature resolver, and more. This is a major component of a
/// regular cargo build.
fn resolve_ws(c: &mut Criterion) {
})
}
- /// Gets the `SourceId` associated with given name of the remote regsitry.
+ /// Gets the `SourceId` associated with given name of the remote registry.
pub fn alt_registry(config: &Config, key: &str) -> CargoResult<SourceId> {
let url = config.get_registry_index(key)?;
Ok(SourceId::wrap(SourceIdInner {
// (1.53) #9397 was created to fix the regression introduced by #9133 relative
// to the current stable (1.51).
//
-// That's all a long winded way of saying "it's wierd that git deps hash first
+// That's all a long winded way of saying "it's weird that git deps hash first
// and are sorted last, but it's the way it is right now". The author of this
// comment chose to handwrite the `Ord` implementation instead of the `Hash`
// implementation, but it's only required that at most one of them is
pub graph_features: bool,
/// Maximum display depth of the dependency tree.
pub max_display_depth: u32,
- /// Exculdes proc-macro dependencies.
+ /// Excludes proc-macro dependencies.
pub no_proc_macro: bool,
}
}
/// Build an error message for a target path that cannot be determined either
-/// by auto-discovery or specifiying.
+/// by auto-discovery or specifying.
///
/// This function tries to detect commonly wrong paths for targets:
///
* Output behavior
* [out-dir](#out-dir) — Adds a directory where artifacts are copied to.
* [terminal-width](#terminal-width) — Tells rustc the width of the terminal so that long diagnostic messages can be truncated to be more readable.
- * [Different binary name](#different-binary-name) — Assign a name to the built binary that is seperate from the crate name.
+ * [Different binary name](#different-binary-name) — Assign a name to the built binary that is separate from the crate name.
* Compile behavior
* [mtime-on-use](#mtime-on-use) — Updates the last-modified timestamp on every dependency every time it is used, to provide a mechanism to delete unused artifacts.
* [doctest-xcompile](#doctest-xcompile) — Supports running doctests with the `--target` flag.