@xaidenlabs/uso 1.1.90 → 1.1.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/platforms/wsl.js +12 -13
package/package.json
CHANGED
package/src/platforms/wsl.js
CHANGED
|
@@ -204,8 +204,16 @@ const installWsl = async () => {
|
|
|
204
204
|
silent: true,
|
|
205
205
|
});
|
|
206
206
|
if (verifyInstall.code !== 0) {
|
|
207
|
+
const rawError = (verifyInstall.stderr || verifyInstall.stdout || "")
|
|
208
|
+
.replace(/\x00/g, "")
|
|
209
|
+
.trim();
|
|
210
|
+
|
|
211
|
+
log.warn(`⚠️ ${WSL_DISTRO} is not ready yet.`);
|
|
212
|
+
if (rawError) {
|
|
213
|
+
console.log(chalk.red(`\nWSL Error Details:\n${rawError}\n`));
|
|
214
|
+
}
|
|
207
215
|
log.warn(
|
|
208
|
-
|
|
216
|
+
"👉 WSL installation usually needs a full system reboot, OR you need to enable 'Virtual Machine Platform' / 'Virtualization' in your BIOS.",
|
|
209
217
|
);
|
|
210
218
|
log.warn(
|
|
211
219
|
"👉 Restart Windows, then run 'uso install' again to continue the setup.",
|
|
@@ -310,18 +318,9 @@ else
|
|
|
310
318
|
fi
|
|
311
319
|
source $HOME/.cargo/env 2>/dev/null || true
|
|
312
320
|
|
|
313
|
-
# --- Solana SBPF Toolchain
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
if run_with_progress "🎯 Installing Solana SBPF target..." 35 55 rustup target add sbpf-solana-solana; then
|
|
317
|
-
echo "✅ SBPF target installed."
|
|
318
|
-
else
|
|
319
|
-
FAILURES="$FAILURES sbpf-target"
|
|
320
|
-
echo "❌ SBPF target installation failed."
|
|
321
|
-
fi
|
|
322
|
-
else
|
|
323
|
-
echo "✅ SBPF target already installed."
|
|
324
|
-
fi
|
|
321
|
+
# --- Solana SBPF Toolchain ---
|
|
322
|
+
# The SBPF target is managed by Solana's custom rustc inside the Solana CLI.
|
|
323
|
+
echo "✅ SBPF target is managed by Solana CLI."
|
|
325
324
|
|
|
326
325
|
# Install cargo-build-sbf
|
|
327
326
|
if ! command -v cargo-build-sbf &> /dev/null; then
|