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
3 changes: 2 additions & 1 deletion src/backend/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,8 @@ pub trait Backend: Debug + Send + Sync {
}
}
// Check for --locked mode: if enabled and no lockfile URL exists, fail early
if ctx.locked {
// Exempt tool stubs from lockfile requirements since they are ephemeral
if ctx.locked && !tv.request.source().is_tool_stub() {
let platform_key = self.get_platform_key();
let has_lockfile_url = tv
.lock_platforms
Expand Down
Loading