Rust tooling is really impressive: I hadn't touched a http://build.rs file before today but after an afternoon's work I was able to write one that takes the static files resulting from a rust wasm build and uses them to generate a lib w/ a static hashmap (via rust-phf)
-
Prikaži ovu nit
-
now instead of needing to deploy a binary + a static content directory, I can just deploy a single statically linked binary that serves static content & provides dynamic route handlers
1 reply 0 proslijeđenih tweetova 3 korisnika označavaju da im se sviđaPrikaži ovu nit
just casually doing codegen and including arbitrary bytestrings in compilation artifacts, this would be really nontrivially hard in most languages I've worked with
16:58 - 3. sij 2020.
0 replies
0 proslijeđenih tweetova
1 korisnik označava da mu se sviđa
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.