Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waiting for the fix of Zig : external array with unknown size cannot be imported #8

Open
hiroakitakada opened this issue Aug 16, 2020 · 0 comments
Assignees
Labels
waiting Waiting for bug fix or enhancement of Zig

Comments

@hiroakitakada
Copy link
Member

Zigにサイズが不明の配列を外部参照できないという制限(ziglang/zig#4831 )があるため,それを回避するコードにしている。例えば,以下のコード。

    ///  TCBのエリア
    // Zigの制限事項の回避:十分に大きいサイズの配列とする
    pub extern var _kernel_tcb_table: [1000]TCB;
@hiroakitakada hiroakitakada added the waiting Waiting for bug fix or enhancement of Zig label Aug 16, 2020
@hiroakitakada hiroakitakada self-assigned this Aug 16, 2020
@hiroakitakada hiroakitakada changed the title Zigに制限事項の解除:サイズが不明の配列を外部参照できない Zigの制限の解除待ち:サイズが不明の配列を外部参照できない Aug 16, 2020
@hiroakitakada hiroakitakada changed the title Zigの制限の解除待ち:サイズが不明の配列を外部参照できない Waiting for the fix of Zig : external arrayZigの制限の解除待ち:サイズが不明の配列を外部参照できない Aug 20, 2020
@hiroakitakada hiroakitakada changed the title Waiting for the fix of Zig : external arrayZigの制限の解除待ち:サイズが不明の配列を外部参照できない Waiting for the fix of Zig : external array with unknown size cannot be imported Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting Waiting for bug fix or enhancement of Zig
Projects
None yet
Development

No branches or pull requests

1 participant