From 5d2028d2c17690b5e531bd38a3faea02ee67fef1 Mon Sep 17 00:00:00 2001 From: Boshen Date: Tue, 18 Feb 2025 18:48:35 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20temporarily=C2=A0reset=20the=20broken=20n?= =?UTF-8?q?api=20`.d.ts`=20files=20(#9197)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cargo/config.toml | 4 ---- .github/workflows/ci.yml | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 6803e5c062..07509d8a5d 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -19,10 +19,6 @@ incompatible-rust-versions = "fallback" [target.'cfg(target_vendor = "apple")'] rustflags = ["-C", "link-args=-Wl,-undefined,dynamic_lookup,-no_fixup_chains"] -# To be able to run unit tests on Linux, support compilation to 'x86_64-unknown-linux-gnu'. -[target.'cfg(target_os = "linux")'] -rustflags = ["-C", "link-args=-Wl,--warn-unresolved-symbols"] - [target.x86_64-pc-windows-msvc] rustflags = ["-C", "target-feature=+crt-static"] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84041e016f..e0dc40b18b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -320,6 +320,8 @@ jobs: - if: steps.filter.outputs.src == 'true' run: | pnpm run build-dev + # Reset the broken `.d.ts` files + git add . && git reset --hard pnpm run test pnpm --filter e2e run test git diff --exit-code # Must commit everything