`pid_type` and `proc_cm_event` are not tested.

オープン
#4,680 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
c, rust

調査の方向性

不足している enum のカバレッジを明らかにした新しい ctest から始め、次に #4647 に関係するヘッダーとユーザー空間の C テストのセットアップを調べてください。pid_type と proc_cm_event が C にどのように公開されているかを追跡し、それを Rust バインディングと比較してください。両方の enum 型に C 側からアクセスでき、テストでカバーされていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

The previous ctest for inexplicable reasons hid the definitions of C enums when expanding macros and thus didn't test any C enum types. Now that the new ctest is able to test these types, it has been found that the pid_type and proc_cm_event C enums cannot be accessed on the C side, despite the correct headers being included.

It is suspected that the issue is because these types are not made public to user space C code, which is what is used for the tests.

I'm not exactly sure how this could be fixed.

This was first found in #4647.

主要言語
Rust
スター
2.6k
フォーク
1.3k
平均マージ
3日 1時間
マージ済み PR(30日)
52

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rust-lang/libc のほかの issue

rust-lang/libc の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。