build: Add cargo timing script to devshell (#49941)
This commit is contained in:
1 parent
12278e81be
commit
096a097b1e
2 files changed
+14
No files matched your search
@@ -209,6 +209,10 @@ async function main() {
|
||||
|
||||
// Handle --init flag
|
||||
if (args[0] === "--init") {
|
||||
if (process.env.NIX_WRAPPER === "1") {
|
||||
console.error("`--init` not supported when going through the nix wrapper");
|
||||
process.exit(1);
|
||||
}
|
||||
initShellAlias();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user