wasmtime-rb
Ruby WebAssembly runtime powered by Wasmtime
파일 탐색기
최종 버전 다운로드 (.zip)- action.yml
- build-docs.yml
- build-gems.yml
- ci.yml
- memcheck.yml
- release.yml
- dependabot.yml
- bench.rb
- compile.rb
- component_id.rb
- func_call.rb
- host_call.rb
- instantiate.rb
- console
- setup
- epoch.rb
- externref.rb
- externref.wat
- fuel.rb
- fuel.wat
- gcd.rb
- gcd.wat
- hello.rb
- hello.wat
- linking.rb
- linking1.wat
- linking2.wat
- memory.rb
- memory.wat
- multi.rb
- multi.wat
- wasi-p2.rb
- wasi.rb
- macros.rs
- mod.rs
- nogvl.rs
- output_limited_buffer.rs
- static_id.rs
- symbol_enum.rs
- tmplock.rs
- convert.rs
- func.rs
- instance.rs
- linker.rs
- wasi_command.rs
- unsafe_slice.rs
- caller.rs
- component.rs
- config.rs
- convert.rs
- engine.rs
- errors.rs
- externals.rs
- func.rs
- global.rs
- instance.rs
- linker.rs
- memory.rs
- mod.rs
- module.rs
- params.rs
- pooling_allocation_config.rs
- store.rs
- table.rs
- trap.rs
- wasi.rs
- wasi_config.rs
- lib.rs
- build.rs
- Cargo.toml
- extconf.rb
- component.rb
- error.rb
- version.rb
- wasmtime.rb
- bench.rake
- compile.rake
- doc.rake
- env.rake
- examples.rake
- helpers.rake
- mem.rake
- pkg.rake
- spec.rake
- generate-changelog.sh
- config.toml
- settings.json
- settings.json
- lib.rs
- world.wit
- .gitignore
- Cargo.toml
- README.md
- config.toml
- lib.rs
- world.wit
- .gitignore
- Cargo.toml
- README.md
- config.toml
- main.rs
- Cargo.toml
- README.md
- config.toml
- main.rs
- Cargo.toml
- README.md
- config.toml
- main.rs
- Cargo.toml
- README.md
- main.rs
- Cargo.toml
- README.md
- .gitignore
- component_adder.wat
- component_trap.wat
- component_types.wasm
- empty.wat
- empty_component.wat
- host_func_imports.wasm
- wasi-debug-p2.wasm
- wasi-debug.wasm
- wasi-deterministic-p2.wasm
- wasi-deterministic.wasm
- wasi-fs-p2.wasm
- wasi-fs.wasm
- wasi-network-p2.wasm
- epoch_interruption_spec.rb
- hello_world_spec.rb
- insanity_spec.rb
- ractor_spec.rb
- component_spec.rb
- convert_spec.rb
- func_spec.rb
- instance_spec.rb
- linker_spec.rb
- result_spec.rb
- variant_spec.rb
- engine_spec.rb
- error_spec.rb
- extern_spec.rb
- fuel_spec.rb
- func_spec.rb
- global_spec.rb
- instance_spec.rb
- linker_spec.rb
- memory_spec.rb
- module_spec.rb
- pooling_allocation_config_spec.rb
- store_spec.rb
- table_spec.rb
- trap_spec.rb
- wasi_spec.rb
- wasmtime_spec.rb
- convert_spec.rb
- spec_helper.rb
- wasmtime_spec.rb
- readme.md
- ruby-3.1.supp
- .gitignore
- .rspec
- .rubocop.yml
- .standard.yml
- .yardopts
- Cargo.lock
- Cargo.toml
- CHANGELOG.md
- CONTRIBUTING.md
- flake.lock
- flake.nix
- Gemfile
- Gemfile.lock
- LICENSE
- NIGHTLY_VERSION
- Rakefile
- README.md
- wasmtime.gemspec
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/bytecodealliance/wasmtime-rb
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd wasmtime-rb
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천사전 준비물
- Ruby gem 명령어를 쓰려면 Ruby가 필요합니다.
gem install wasmtime
RubyGems에 배포된 패키지를 바로 설치합니다.
설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Rust
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Rust (rustup) rustup으로 설치하면 cargo도 함께 설치됩니다.
cargo build --release
Rust 프로젝트를 컴파일합니다.
cargo run
빌드 후 바로 실행까지 진행합니다.
cargo build가 에러 없이 끝나면 성공입니다. target/ 폴더에 실행 파일이 생성됩니다.
4. Ruby
쉬움bundle lock --add-platform x86_64-linux # Standard Linux (e.g. Heroku, GitHub Actions, etc.)
이 명령어를 터미널에 그대로 입력해 실행하세요.
bundle lock --add-platform x86_64-linux-musl # MUSL Linux deployments (i.e. Alpine Linux)
이 명령어를 터미널에 그대로 입력해 실행하세요.
bundle lock --add-platform aarch64-linux # ARM64 Linux deployments (i.e. AWS Graviton2)
이 명령어를 터미널에 그대로 입력해 실행하세요.
bundle lock --add-platform x86_64-darwin # Intel MacOS (i.e. pre-M1)
이 명령어를 터미널에 그대로 입력해 실행하세요.
bundle lock --add-platform arm64-darwin # Apple Silicon MacOS (i.e. M1)
이 명령어를 터미널에 그대로 입력해 실행하세요.
bundle install이 에러 없이 끝나면 README에 안내된 실행 명령어(예: rails server)로 마저 실행해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
