Skip to content

Commit 905a176

Browse files
committed
fix(nsh): complete the test host target match
The native test host starter already rejects Tui before host_target is called. Make that existing boundary explicit so nsh-cli compiles after the NSH synchronization. Refresh the source fingerprint; no dependency or notice text changes. Generated-by: OpenAI Codex
1 parent 44c935a commit 905a176

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎products/maka/cli/notices.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@
925925
"third-party/nsh/crates/nsh-cli/src/templates/tsconfig/5.json": "5d6ee953f0366848a5cbe9fe9d0a6b31637d14e8dfb20761e7730c9228753b1a",
926926
"third-party/nsh/crates/nsh-cli/src/test.rs": "46b59fb772a08b1aea6aa46a94a1468f4dfe1231352a7cbbd611d22b6a64dfe0",
927927
"third-party/nsh/crates/nsh-cli/src/test_android.rs": "6f3ca5c6caf8e46d48fa7d3046e82a9d1d5f50efd1a6a68a08f3c0472295c48c",
928-
"third-party/nsh/crates/nsh-cli/src/test_host.rs": "8ca3cc5d23d12ba63db4edc5293d92244b5e50a37c904d7815fc06e9df731661",
928+
"third-party/nsh/crates/nsh-cli/src/test_host.rs": "a9a8260ffaf68f7516489c3024d4d476e578a7f782549c26202e9d4f91fdb3a8",
929929
"third-party/nsh/crates/nsh-cli/src/test_ios.rs": "001f75d6f862a31d2352e09c51317f100ae6ddab8d983761315c25760b258f01",
930930
"third-party/nsh/crates/nsh-cli/src/test_web.rs": "b657afd25fd7f33f734cd8ac597bb580a0f341a0453828b1d73f3b71b74436bd",
931931
"third-party/nsh/crates/nsh-cli/src/tui.rs": "edadbdd4996dce76cf87b4e8eb4e4101fa6ed338f2ebb7f0725a6c61d2bde6c0",

‎third-party/nsh/crates/nsh-cli/src/test_host.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ pub(crate) fn host_target(target: Target) -> nsh_testing::HostTarget {
9292
Target::Linux => ("linux", Platform::Linux, true),
9393
Target::Web => ("web", Platform::Web, true),
9494
Target::Gpui => ("gpui", desktop, true),
95+
Target::Tui => unreachable!("starter rejects terminal test hosts"),
9596
};
9697
let mut host = nsh_testing::HostTarget::default();
9798
host.name = name.to_owned();

0 commit comments

Comments
 (0)