Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.
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
4 changes: 4 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use cargo::core::dependency::Kind;
use cargo::core::manifest::ManifestMetadata;
use cargo::core::maybe_allow_nightly_features;
use cargo::core::package::PackageSet;
use cargo::core::registry::PackageRegistry;
use cargo::core::resolver::Method;
Expand Down Expand Up @@ -193,6 +194,9 @@ fn real_main(args: Args, config: &mut Config) -> CliResult {
&args.unstable_flags,
)?;

// Needed to allow nightly features
maybe_allow_nightly_features();

let workspace = workspace(config, args.manifest_path)?;
let package = workspace.current()?;
let mut registry = registry(config, &package)?;
Expand Down