metal2vulkan

(★ 252)

Translate Metal AIR / LLVM IR to Vulkan SPIR-V with a native Rust emitter

파일 탐색기

  • .gitattributes
  • .gitignore
  • AGENTS.md
  • Cargo.toml
  • CHANGELOG.md
  • CONTRIBUTING.md
  • LICENSE
  • README.md
  • rustfmt.toml

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

cargo doc

설명 보기 ▼

Build the documentation of Rust packages.

cargo {{[d|doc]}}

Build the documentation for the current project and all dependencies:

cargo {{[d|doc]}} --no-deps

Do not build documentation for dependencies:

cargo {{[d|doc]}} --open

Build and open the documentation in a browser:

🔍

cargo install

설명 보기 ▼

Build and install a Rust binary.

cargo install {{package}}@{{version}}

Install a package from <https://crates.io> (the version is optional - latest by default):

cargo install --git {{repo_url}}

Install a package from the specified Git repository:

cargo install --git {{repo_url}} --{{branch|tag|rev}} {{branch_name|tag|commit_hash}}

Build from the specified branch/tag/commit when installing from a Git repository:

🔍

cargo run

설명 보기 ▼

Run the current Cargo package.
Note: The working directory of the executed binary will be set to the current working directory.

cargo {{[r|run]}}

Run the default binary target:

cargo {{[r|run]}} --bin {{name}}

Run the specified binary:

cargo {{[r|run]}} --example {{name}}

Run the specified example:

🔍

llvm-dis

설명 보기 ▼

LLVM 비트코드 파일을 사람이 읽을 수 있는 LLVM 중간 표현(IR)로 변환.
더 많은 정보: <https://www.llvm.org/docs/CommandGuide/llvm-dis.html>.

llvm-dis {{path/to/input.bc}} -o -

비트코드 파일을 LLVM IR로 변환하고 결과를 `stdout`으로 출력:

llvm-dis {{path/to/file.bc}}

비트코드 파일을 동일한 파일 이름의 LLVM IR 파일로 변환:

llvm-dis {{path/to/input.bc}} -o {{path/to/output.ll}}

비트코드 파일을 LLVM IR로 변환하고 결과를 지정된 파일에 기록:

# 프로젝트 배지

// repository documentation