Skip to content

Commit 4f4621d

Browse files
committed
chore: bump client, fix update script
1 parent 730f91e commit 4f4621d

13 files changed

Lines changed: 472 additions & 244 deletions

File tree

bun.lock

Lines changed: 42 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"dependencies": {
33
"@types/bun": "^1.3.13",
4-
"oxfmt": "^0.46.0",
5-
"oxlint": "^1.61.0"
4+
"oxfmt": "^0.47.0",
5+
"oxlint": "^1.62.0"
66
},
77
"scripts": {
88
"auto": "bun scripts/package_automation.ts $@",

packages/rust/cargo.tg.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ export type Arg = CommonArg & {
7272
/** If the build requires network access, provide a checksum or the string "any" to accept any result. */
7373
checksum?: tg.Checksum;
7474

75+
/** Disable the tgrustc per-build path→artifact-id cache. Default: false. */
76+
disableCheckinCache?: boolean;
77+
7578
/** Should this build have network access? Must set a checksum to enable. Default: false. */
7679
network?: boolean;
7780

@@ -393,6 +396,7 @@ export async function build(...args: std.Args<Arg>): Promise<tg.Directory> {
393396
captureStderr = false,
394397
channel: channel_,
395398
checksum,
399+
disableCheckinCache = false,
396400
disableDefaultFeatures = false,
397401
env: env_,
398402
features = [],
@@ -572,6 +576,9 @@ linker = "${hostLinker}"`;
572576
// Avoids self-checkin per invocation.
573577
TGRUSTC_DRIVER_EXECUTABLE: proxyBin,
574578
};
579+
if (disableCheckinCache) {
580+
proxyEnv.TGRUSTC_DISABLE_CHECKIN_CACHE = "1";
581+
}
575582
envs.push(proxyEnv);
576583
}
577584

0 commit comments

Comments
 (0)