cgo-gen

(★ 13)

No description available.

파일 탐색기

  • .gitignore
  • Cargo.lock
  • Cargo.toml
  • LICENSE
  • README.md

# CDN으로 사용하기

jsDelivr

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

명령어 용어집

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

🔍

brew install

설명 보기 ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

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:

🔍

cargo test

설명 보기 ▼

Execute the unit and integration tests of a Rust package.

cargo {{[t|test]}} {{test_name}}

Only run tests containing a specific string in their names:

cargo {{[t|test]}} -- --test-threads {{count}}

Set the number of simultaneous running test cases:

cargo {{[t|test]}} {{[-r|--release]}}

Test artifacts in release mode, with optimizations:

🔍

clang

설명 보기 ▼

C, C++, Objective-C 소스 파일을 컴파일. 수정 없이 GCC 대체(drop-in replacement)로 사용할 수 있음.
LLVM의 일부.
더 많은 정보: <https://clang.llvm.org/docs/ClangCommandLineReference.html>.

clang {{path/to/source1.c path/to/source2.c ...}} {{[-o|--output]}} {{path/to/output_executable}}

여러 소스 파일을 하나의 실행 파일로 컴파일:

clang {{path/to/source.c}} -Wall {{[-o|--output]}} {{output_executable}}

모든 오류 및 경고 출력 활성화:

clang {{path/to/source.c}} -Wall {{[-g|--debug]}} -Og {{[-o|--output]}} {{path/to/output_executable}}

일반적인 경고 표시, 디버그 심볼 포함, 디버깅에 영향을 주지 않는 최적화 적용:

🔍

apt install

설명 보기 ▼

Install packages for Debian-based distributions.

sudo apt install {{package}}

Install a package, or update it to the latest version:

sudo apt install {{[-V|--verbose-versions]}} {{package}}

Display verbose package version information during installation or update:

🔍

dnf install

설명 보기 ▼

Install packages on Red Hat-based distributions.

sudo dnf {{[in|install]}} {{package1 package2 ...}}

Install packages by name:

sudo dnf {{[in|install]}} {{path/to/file}}

Install a package from a local file:

sudo dnf {{[in|install]}} {{https://example.com/package.rpm}}

Install a package from the internet:

🔍

module

설명 보기 ▼

사용자의 환경을 module 명령어로 수정.
더 많은 정보: <https://lmod.readthedocs.io/en/latest/010_user.html>.

module avail

사용 가능한 모듈 표시:

module avail {{module_name}}

이름으로 모듈 검색:

module load {{module_name}}

모듈 로드:

🔍

pacman -S

설명 보기 ▼

This command is an alias of `pacman --sync`.

tldr pacman sync

View documentation for the original command:

🔍

pkg_add

설명 보기 ▼

OpenBSD에 패키지를 설치/업데이트합니다.
관련 항목: `pkg_info`, `pkg_delete`.
더 많은 정보: <https://man.openbsd.org/pkg_add>.

pkg_add -u

종속성을 포함하여 모든 패키지를 업데이트:

pkg_add {{package}}

새로운 패키지 설치:

pkg_add -l {{path/to/file}}

`pkg_info`의 원시 출력에서 패키지 설치:

🔍

xcode-select

설명 보기 ▼

Xcode의 다양한 버전과 포함된 개발자 도구 간에 전환.
설치 후 Xcode가 이동된 경우 경로를 업데이트하는 데 사용됩니다.
더 많은 정보: <https://developer.apple.com/library/archive/technotes/tn2339/_index.html>.

xcode-select --install

Xcode의 명령줄 도구 설치:

xcode-select --switch {{path/to/Xcode.app/Contents/Developer}}

주어진 경로를 활성 개발자 디렉토리로 선택:

xcode-select --switch {{path/to/Xcode_file.app}}

주어진 Xcode 인스턴스를 선택하고 해당 개발자 디렉토리를 활성 디렉토리로 사용:

🔍

winget

설명 보기 ▼

윈도우 패키지 매니저.
더 많은 정보: <https://learn.microsoft.com/windows/package-manager/winget>.

winget {{[add|install]}} {{package}}

패키지 설치:

winget {{[rm|uninstall]}} {{package}}

패키지 제거 (참고: `remove` 대신 `uninstall` 을 사용할 수 있음):

winget show {{package}}

패키지에 대한 정보 표시:

// repository documentation