andreamancuso
Proposal: Ask Tailwind CSS to support RISC-V, for the sake of Phoenix portability
Hey folks,
This might sound niche, but I think it’s worth bringing up - especially given Phoenix’s reputation for being lightweight, portable, and fast.
I recently attempted to run a full Phoenix + LiveView stack on a RISC-V board (specifically a Milk-V Mars running Debian Trixie). Everything worked surprisingly well:
- Erlang/OTP installed and ran without a hitch
- Elixir compiled fine
- Phoenix booted up like a champ
- Even Docker worked!
And then… Tailwind happened.
As most of you know, Phoenix uses the Tailwind CLI during asset compilation - and unfortunately, the Tailwind CLI doesn’t currently provide builds for RISC-V. Even compiling it from source doesn’t work cleanly out of the box due to its Rust-based binary and tight coupling with unsupported system assumptions (like filesystem access during runtime scanning in v4).
This is the roadblock stopping Phoenix from running cleanly on RISC-V systems out of the box - and frankly, it’s a shame. Everything else is ready. We’re just blocked by one missing binary.
I’d like to suggest that the Phoenix core team officially reach out to Tailwind Labs, asking them to consider adding a RISC-V target for their standalone CLI releases.
It would:
- Unlock Phoenix development on new/emerging architectures
- Encourage broader experimentation (edge computing, low-power setups, alt-arch servers, etc.)
- Future-proof the asset pipeline for what’s quickly becoming a real-world dev target (Debian officially supports RISC-V)
I know this is an upstream request, but coming from Phoenix - a major Tailwind integrator - it might carry more weight than individuals asking piecemeal.
Just planting the seed.
Thanks for considering and apologies if anyone finds this proposal silly/outrageous.
Andrea
Most Liked
andreamancuso
LOL, sorry for giving you false hope.
I compiled turbo (by vercel) on my Milk-V Mars, took 2+ hours. It’s 03:18am as I type this so will try compiling tailwind tomorrow. That said, I was able to compile the oxide binary. Let’s see what happens.
arcanemachine
I vibe-coded a wrapper that makes it so that vanilla Phoenix can work on RISC-V with Tailwind support:
FWIW it’s a workaround, not a proper solution (Bun doesn’t support RISC-V, which is a hard blocker for official tailwindcss CLI support), but it does the job.
Just figured I’d let you know since you’re the only other person I know who has dug into the issue.
P.S. This page is currently the top result on Google when you search tailwind risc-v ![]()
Popular in Proposals: Ideas
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









