From 80a0076402d1e6d6bde6c2f9fb78e1eb285ea500 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 2 Mar 2022 20:21:49 +0900 Subject: enable hasCJKLanguage --- docs/index.html | 71 +++------------------- docs/index.xml | 71 +++------------------- .../index.html | 4 +- docs/posts/index.html | 71 +++------------------- docs/posts/index.xml | 71 +++------------------- docs/posts/phperkaigi-2021/index.html | 14 +---- docs/posts/python-unbound-local-error/index.html | 8 +-- .../ruby-detect-running-implementation/index.html | 9 +-- .../posts/ruby-then-keyword-and-case-in/index.html | 6 +- .../rust-where-are-primitive-types-from/index.html | 9 +-- .../index.html | 12 +--- .../vim-swap-order-of-selected-lines/index.html | 9 +-- docs/tags/conference/index.html | 14 +---- docs/tags/conference/index.xml | 14 +---- docs/tags/cpp/index.html | 4 +- docs/tags/cpp/index.xml | 4 +- docs/tags/cpp17/index.html | 4 +- docs/tags/cpp17/index.xml | 4 +- docs/tags/php/index.html | 14 +---- docs/tags/php/index.xml | 14 +---- docs/tags/phperkaigi/index.html | 14 +---- docs/tags/phperkaigi/index.xml | 14 +---- docs/tags/python/index.html | 8 +-- docs/tags/python/index.xml | 8 +-- docs/tags/python3/index.html | 8 +-- docs/tags/python3/index.xml | 8 +-- docs/tags/ruby/index.html | 15 +---- docs/tags/ruby/index.xml | 15 +---- docs/tags/ruby3/index.html | 6 +- docs/tags/ruby3/index.xml | 6 +- docs/tags/rust/index.html | 9 +-- docs/tags/rust/index.xml | 9 +-- docs/tags/vim/index.html | 21 +------ docs/tags/vim/index.xml | 21 +------ 34 files changed, 66 insertions(+), 523 deletions(-) (limited to 'docs') diff --git a/docs/index.html b/docs/index.html index 6c7deb3..bc3627c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -84,14 +84,7 @@

Rust のプリミティブ型はどこからやって来るか

-

この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/9a429432258bbcd6c565 - 前置き Rust において、プリミティブ型の名前は予約語でない。したがって、次のコードは合法である。 -#![allow(non_camel_case_types)] #![allow(dead_code)] struct bool; struct char; struct i8; struct i16; struct i32; struct i64; struct i128; struct isize; struct u8; struct u16; struct u32; struct u64; struct u128; struct usize; struct f32; struct f64; struct str; では、普段単に bool と書いたとき、この bool は一体どこから来ているのか。rustc のソースを追ってみた。 - 前提知識: 一般的なコンパイラの構造、用語。rustc そのものの知識は不要 (というよりも筆者自身がよく知らない) - 調査 調査に使用したソース (調査時点での最新 master) -https://github.com/rust-lang/rust/tree/511ed9f2356af365ad8affe046b3dd33f7ac3c98 -どのようにして調べるか。rustc の構造には詳しくないため、すぐに当たりをつけるのは難しい。 -大雑把な構造としては、compiler フォルダ以下に rustc_* という名前のクレートが数十個入っている。これがどうやら rustc コマンドの実装部のようだ。...

+

この記事は Qiita から移植してきたものです。 元 URL: https://qiita.com/nsfisis/items/9a429432258bbcd6c565 前置き Rust において、プリミティブ型の名前は予約語でない。したがって、次のコードは合法である。 #![allow(non_camel_case_types)] #![allow(dead_code)] struct...