Skip to content

Conversation

dalance
Copy link
Contributor

@dalance dalance commented Mar 22, 2016

@KeenS @tatsuya6502
[WIP]取りましたのでご確認をお願いします。

@dalance dalance changed the title [WIP] 6.3. No stdlib 6.3. No stdlib Mar 26, 2016
<!-- with `#![no_main]` and then create the appropriate symbol with the -->
<!-- correct ABI and the correct name, which requires overriding the -->
<!-- compiler's name mangling too: -->
コンパイラによって挿入される `main` を上書きするには、まず `#![no_main]` によってコンパイラによる挿入を無効にします。そのうえで、正しいABIとコンパイラの名前マングリングを上書きするための正しい名前を備えた適切なシンボルを作成します。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

そのうえで、正しいABIとコンパイラの名前マングリングを上書きするための正しい名前を備えた適切なシンボルを作成します。

この文は

  • 正しいABIと正しい名前を用意する必要がある
  • そのためにはコンパイラのmanglingを上書きする必要もある

と言ってるのだと思います。なので
「その上で、正しいABIと正しい名前を生成します。これにはコンパイラの名前マングリングを上書きする必要もあります。」
はどうでしょうか。

@KeenS
Copy link
Member

KeenS commented Mar 27, 2016

@dalance 1点だけコメントしました。確認お願いします。

@dalance
Copy link
Contributor Author

dalance commented Mar 27, 2016

@KeenS ありがとうございます。修正しましたのでご確認をお願いします。

@KeenS
Copy link
Member

KeenS commented Mar 28, 2016

確認しました。ありがとうございます。マージします。

@KeenS KeenS merged commit dab6104 into rust-lang-ja:master Mar 28, 2016
@tatsuya6502 tatsuya6502 modified the milestone: 1.6 Apr 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants