検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 21 for コンパイル (0.025 sec.)
Rust By Example 日本語版 13192
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 整理しましょう。 クレート - クレートは、Rustにおいてコンパイルされる単位です。ライブラリの作り方について学びます。 ... are executed when the compiled binary is called // コンパイルされたバイナリが実行されるとこの関数が呼び出されます ... り方でテキストをパースし、正しくフォーマットできるかコンパイル時にチェックします。 fn main() { // In general, the ... ompiler error // TODO ^ 上記2行のコメントを外して、コンパイルエラーになることを確認 let pair = (1, true); println ...
https://man.plustar.jp/rust/example/print.html - [similar]
クレート - Rust By Example 日本語版 11771
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... By Example 日本語版 クレート クレートはRustにおけるコンパイルの単位です。 rustc some_file.rs が呼ばれると、 some_ ... 。もし some_file.rs が mod 宣言を含んでいるのならば、コンパイルの 前に 、そのモジュールファイルの中身が mod の位置に ... されます。言い換えると、それぞれのモジュールが独立にコンパイルされるということはありませんが、それぞれのクレートは ... 互いに独立にコンパイルされるということです。 クレートはバイナリあるいはライ ...
https://man.plustar.jp/rust/example/crates.html - [similar]
Build Scripts - Rust By Example 日本語版 10706
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ルドでは十分でないことが時々あります。コード生成や、コンパイルが必要なネイティブコードなど、 cargo がクレートをうま ...コンパイルするにはなんらかの前提条件が必要かもしれません。この ... Rustのファイルの1つで、パッケージ内の他のファイルをコンパイルする前にコンパイルされて起動されます。そのため、クレ ... がついた行はCargoに直接解釈されるため、パッケージのコンパイル時のパラメーターを定義するのに使用できます。 より詳細 ...
https://man.plustar.jp/rust/example/cargo/build_scripts.html - [similar]
cfg - Rust By Example 日本語版 9809
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... Navy Ayu Rust By Example 日本語版 cfg 環境に応じたコンパイルをするには2種類の方法があります。 cfg アトリビュート ... g!(...) をブーリアンとして評価する。 前者は条件付きコンパイルを行いますが、後者は true または false リテラルに評価 ... S is linux // この関数はターゲットOSがLinuxの時のみコンパイルされる。 #[cfg(target_os = "linux")] fn are_you_on_l ... してこの関数はターゲットOSがLinux *ではない* ときのみコンパイルされる。 #[cfg(not(target_os = "linux"))] fn are_you ...
https://man.plustar.jp/rust/example/attribute/cfg.html - [similar]
Hello World - Rust By Example 日本語版 9809
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... are executed when the compiled binary is called // コンパイルされたバイナリが実行されるとこの関数が呼び出されます ...
https://man.plustar.jp/rust/example/hello.html - [similar]
幽霊型パラメータ - Rust By Example 日本語版 9454
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 霊型(Phantom Type)とは実行時には存在しないけれども、コンパイル時に静的に型チェックされるような型のことです。 構造体 ... メータを一つ余分に持ち、それをマーカーとして使ったりコンパイル時の型検査に使ったりすることができます。このマーカー ... ror! Type mismatch so these cannot be compared: // コンパイルエラー!型が違うので`==`で比較することができない! //p ... ror! Type mismatch so these cannot be compared: // コンパイルエラー! 型が違うので比較することができない! //printl ...
https://man.plustar.jp/rust/example/generics/phantom.html - [similar]
配列とスライス - Rust By Example 日本語版 8727
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 保存されます。配列は [] を用いて生成されます。長さはコンパイル時には決定されていて、 [T; length] という形で指定でき ... ます。 スライスは配列に似ていますが、コンパイル時に長さが決定されていません。スライスは2ワードからな ... auses compile error // インデックスが範囲外のときはコンパイルエラー println!("{}", xs[5]); } 関連キーワード: 配列 ...
https://man.plustar.jp/rust/example/primitives/array.html - [similar]
クレート - Rust By Example 日本語版 8016
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... ートは、そのクレートがライブラリ、バイナリのいずれにコンパイルされるべきかをコンパイラに伝えるために使用します。ラ ...
https://man.plustar.jp/rust/example/attribute/crate.html - [similar]
アトリビュート - Rust By Example 日本語版 8016
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 要素に対するメタデータです。以下がその使用目的です。 コンパイル時の条件分岐 クレート名、バージョン、種類(バイナリか ...
https://man.plustar.jp/rust/example/attribute.html - [similar]
macro_rules! - Rust By Example 日本語版 7847
Introduction 1. Hello World ❱ 1.1. コメント 1.2. フォーマットしてプリント ❱ 1.2.1. デバッグ 1.2. ... 、ソースコード中に展開され、周囲のプログラムとともにコンパイルされる点です。 しかし、Cやその他の言語のマクロが文字 ... the contents of this block. // マクロは(訳注: プリコンパイルの段階で)このブロック内の内容に展開されます。 print ...
https://man.plustar.jp/rust/example/macros.html - [similar]
PREV 1 2 3 NEXT