rust-build-optimizer
CommunityOptimize Rust builds for low memory.
Authordousu
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents Out-of-Memory (OOM) errors during Rust extension builds, especially in memory-constrained environments like DevContainers or Colab, ensuring successful compilation.
Core Features & Use Cases
- Memory-Optimized Builds: Uses techniques like split workspace compilation and reduced codegen units to minimize peak memory usage.
- OOM Error Recovery: Provides detailed steps to diagnose and resolve build failures caused by insufficient RAM.
- Use Case: You're trying to build the Rust backend for
maouin a Google Colab notebook with only 4GB of RAM, and the build keeps failing with OOM errors. This Skill guides you through a sequential build process to overcome the memory limitations.
Quick Start
Build the Rust extension using memory-optimized flags.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rust-build-optimizer Download link: https://github.com/dousu/maou/archive/main.zip#rust-build-optimizer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.