« * K @samibadawi.com

Sami Badawi @samibadawi.com

2026-11-08 12:15 UTC

Mojo compile time code makes raylib work on Linux & Mac: comptime RAYLIB_PATH = platform_map[ "raylib", linux="libraylib.so.550", macos="libraylib.dylib" ]() var fallback_paths = [ "/opt/homebrew/lib/libraylib.dylib", ] for path in fallback_paths: try: return OwnedDLHandle(path)

0 likes, 0 reposts, 1 replies

3 Next post4 More from @samibadawi.comBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup