From ea22a66dcf22baff5013d7c5073d59b33499b809 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Fri, 13 Mar 2026 14:29:37 +0800 Subject: [PATCH] tools: Fix target-pointer-width type in x86 target configs Remove quotes around target-pointer-width values in i486 and x86_64 target configuration files to change from string to numeric type. This change is required due to recent rustc JSON format modifications that expect numeric values instead of strings for target-pointer-width. Signed-off-by: Huang Qi --- tools/i486-unknown-nuttx.json | 2 +- tools/x86_64-unknown-nuttx.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/i486-unknown-nuttx.json b/tools/i486-unknown-nuttx.json index 8d52aa161..93cd43418 100644 --- a/tools/i486-unknown-nuttx.json +++ b/tools/i486-unknown-nuttx.json @@ -29,5 +29,5 @@ "unix" ], "target-mcount": "__mcount", - "target-pointer-width": "32" + "target-pointer-width": 32 } diff --git a/tools/x86_64-unknown-nuttx.json b/tools/x86_64-unknown-nuttx.json index 4a5b84901..d12fecb8a 100644 --- a/tools/x86_64-unknown-nuttx.json +++ b/tools/x86_64-unknown-nuttx.json @@ -32,5 +32,5 @@ "target-family": [ "unix" ], - "target-pointer-width": "64" + "target-pointer-width": 64 } \ No newline at end of file