amethyst / amethyst/bracket-lib

thread 'main' panicked

未关闭
#362 8 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
1.7k
派生
126
PR 合并指标
30 天内没有已合并 PR

描述

Following the tutorial on `Hands-on Rust` I found that compiling flappy I get this error:

```
thread 'main' panicked at library/core/src/panicking.rs:221:5:
unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed `isize::MAX`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
Aborted (core dumped)
```

I do not use nightly rust, and my setup was completely following the book. Searching online I found this issue `https://github.com/KyleMayes/vulkanalia/issues/254`. Could it be related somehow?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。