processing / processing/libprocessing
Call to undeclared geometry function/attribute in wasm crate
未關閉
適合新手
還沒有人認領這個 Issue。
- 主要語言
- Rust
- 星號
- 69
- 分支
- 14
- 平均合併
- 15 天 22 小時
- 30 天內合併 PR
- 3
描述
Hey!
I was playing around with libprocessing today and couldn't build because of a undeclared call to geometry_attribute_dead in the wasm crate. From what i understand, there's no dead attribute in the geometry crate, but i'm no Rust or Bevy expert (yet! :D)
I got it to work by commenting the whole binding like so :
/*
#[wasm_bindgen(js_name = "geometryAttributeDead")]
pub fn js_geometry_attribute_dead() -> u64 {
geometry_attribute_dead().to_bits()
}
*/
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 crates/processing_wasm/src/lib.rs 第 2285 行附近開始,將 geometry_attribute_dead binding 與 crates/processing_render/src/geometry/attribute.rs 第 220-231 行和 293-308 行附近的宣告進行比較。執行 wasm crate 的建置以重現未宣告呼叫錯誤;當 binding 與可用的 geometry function 相符,或以其他方式完成修正,且 crate 成功建置時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- rust, wasm
- 領域
- build-system
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 活躍
- 描述清晰度
- 描述清楚
- 新手友好度
- 82/100