Skip to content

Instantly share code, notes, and snippets.

@willglynn
willglynn / gist:1314ebf89bcb2cb49f71ff3a7e016cae
Created June 25, 2024 03:53
Tigo CCA 3.7.7-ct www/cgi-bin/shell
#!/bin/sh
echo -ne "Content-Type: text/plain\r\n\r\n"
sleep $(((RANDOM % 8) + 5))
echo "Done"

I built this branch and made it available via rustup toolchain link stage2 build/host/stage2. This toolchain can run cargo doc, but core and std and such only support my the host as a target.

From here, I made a new crate via cargo new --lib empty, and filled lib.rs with:

#![feature(no_core)]
#![no_std]
#![no_core]
@willglynn
willglynn / comparison.diff
Created April 22, 2025 00:25
Rust 1.84.1 to 1.85.0 target feature changes
--- 1.84.1-dev/aarch64-apple-darwin.json 2025-04-21 18:55:38
+++ 1.85.0-dev/aarch64-apple-darwin.json 2025-04-21 19:17:01
@@ -306,6 +306,12 @@
],
"unstable_feature_gate": null,
"globally_enabled": true
+ },
+ {
+ "name": "reserve-x18",
+ "implies_features": [],