-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
2,164 additions
and
552 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
thread 'rustc' panicked at compiler\rustc_trait_selection\src\error_reporting\traits\fulfillment_errors.rs:1820:44: | ||
called `Option::unwrap()` on a `None` value | ||
stack backtrace: | ||
0: 0x7ffba4044fb3 - std::backtrace_rs::backtrace::dbghelp64::trace | ||
at /rustc/143ce0920a2307b19831160a01f06f107610f1b2\library/std\src\..\..\backtrace\src\backtrace\dbghelp64.rs:91 | ||
1: 0x7ffba4044fb3 - std::backtrace_rs::backtrace::trace_unsynchronized | ||
at /rustc/143ce0920a2307b19831160a01f06f107610f1b2\library/std\src\..\..\backtrace\src\backtrace\mod.rs:66 | ||
2: 0x7ffba4044fb3 - std::backtrace::Backtrace::create | ||
at /rustc/143ce0920a2307b19831160a01f06f107610f1b2\library/std\src\backtrace.rs:331 | ||
3: 0x7ffba4044efa - std::backtrace::Backtrace::force_capture | ||
at /rustc/143ce0920a2307b19831160a01f06f107610f1b2\library/std\src\backtrace.rs:312 | ||
4: 0x7ffba568805b - memchr | ||
5: 0x7ffba405fc62 - alloc::boxed::impl$30::call | ||
at /rustc/143ce0920a2307b19831160a01f06f107610f1b2\library/alloc\src\boxed.rs:1981 | ||
6: 0x7ffba405fc62 - std::panicking::rust_panic_with_hook | ||
at /rustc/143ce0920a2307b19831160a01f06f107610f1b2\library/std\src\panicking.rs:809 | ||
7: 0x7ffba405fa72 - std::panicking::begin_panic_handler::closure$0 | ||
at /rustc/143ce0920a2307b19831160a01f06f107610f1b2\library/std\src\panicking.rs:667 | ||
8: 0x7ffba405d2af - std::sys::backtrace::__rust_end_short_backtrace<std::panicking::begin_panic_handler::closure_env$0,never$> | ||
at /rustc/143ce0920a2307b19831160a01f06f107610f1b2\library/std\src\sys\backtrace.rs:170 | ||
9: 0x7ffba405f6ae - std::panicking::begin_panic_handler | ||
at /rustc/143ce0920a2307b19831160a01f06f107610f1b2\library/std\src\panicking.rs:665 | ||
10: 0x7ffba7093af1 - core::panicking::panic_fmt | ||
at /rustc/143ce0920a2307b19831160a01f06f107610f1b2\library/core\src\panicking.rs:76 | ||
11: 0x7ffba7093bad - core::panicking::panic | ||
at /rustc/143ce0920a2307b19831160a01f06f107610f1b2\library/core\src\panicking.rs:148 | ||
12: 0x7ffba7093a6e - core::option::unwrap_failed | ||
at /rustc/143ce0920a2307b19831160a01f06f107610f1b2\library/core\src\option.rs:2008 | ||
13: 0x7ffba68fcc04 - <rustc_trait_selection[3dbf94cb46f90712]::error_reporting::TypeErrCtxt>::fuzzy_match_tys | ||
14: 0x7ffba6989ecd - <rustc_trait_selection[3dbf94cb46f90712]::error_reporting::traits::on_unimplemented::WrappedParserError as rustc_errors[9c488d6ae8e44ce4]::diagnostic::LintDiagnostic<()>>::decorate_lint | ||
15: 0x7ffba694d182 - <rustc_trait_selection[3dbf94cb46f90712]::error_reporting::TypeErrCtxt>::report_fulfillment_errors | ||
16: 0x7ffba42cb973 - rustc_hir_typeck[a5ddaf2af851908c]::typeck | ||
17: 0x7ffba4e1accb - rustc_query_impl[1314cfb4603ed7b]::plumbing::query_key_hash_verify_all | ||
18: 0x7ffba4d66d0a - rustc_ty_utils[c2708c13bfdf2f5f]::ty::self_ty_of_trait_impl_enabling_order_dep_trait_object_hack | ||
19: 0x7ffba4e23264 - rustc_query_impl[1314cfb4603ed7b]::plumbing::query_key_hash_verify_all | ||
20: 0x7ffba4340272 - <rustc_hir_typeck[a5ddaf2af851908c]::upvar::InferBorrowKind as rustc_hir_typeck[a5ddaf2af851908c]::expr_use_visitor::Delegate>::borrow | ||
21: 0x7ffba43bb399 - rustc_hir_analysis[4b8241ff32ff1736]::check_crate | ||
22: 0x7ffba40d1991 - rustc_interface[a39b52d048a80b08]::passes::resolver_for_lowering_raw | ||
23: 0x7ffba10a480e - rustc_interface[a39b52d048a80b08]::passes::analysis | ||
24: 0x7ffba3c53f5b - rustc_ty_utils[c2708c13bfdf2f5f]::ty::adt_sized_constraint | ||
25: 0x7ffba3b6bcd7 - rustc_ty_utils[c2708c13bfdf2f5f]::ty::adt_sized_constraint | ||
26: 0x7ffba3c59893 - rustc_query_impl[1314cfb4603ed7b]::query_system | ||
27: 0x7ffba10634c7 - _rust_alloc_error_handler | ||
28: 0x7ffba105f19f - _rust_alloc_error_handler | ||
29: 0x7ffba10690a7 - _rust_alloc_error_handler | ||
30: 0x7ffba407173d - alloc::boxed::impl$28::call_once | ||
at /rustc/143ce0920a2307b19831160a01f06f107610f1b2\library/alloc\src\boxed.rs:1967 | ||
31: 0x7ffba407173d - alloc::boxed::impl$28::call_once | ||
at /rustc/143ce0920a2307b19831160a01f06f107610f1b2\library/alloc\src\boxed.rs:1967 | ||
32: 0x7ffba407173d - std::sys::pal::windows::thread::impl$0::new::thread_start | ||
at /rustc/143ce0920a2307b19831160a01f06f107610f1b2\library/std\src\sys\pal\windows\thread.rs:55 | ||
33: 0x7ffcafe5257d - BaseThreadInitThunk | ||
34: 0x7ffcb176af08 - RtlUserThreadStart | ||
|
||
|
||
rustc version: 1.84.0-nightly (143ce0920 2024-11-10) | ||
platform: x86_64-pc-windows-msvc | ||
|
||
query stack during panic: | ||
#0 [typeck] type-checking `cursor::setup_cursor` | ||
#1 [analysis] running analysis passes on this crate | ||
end of query stack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
use bevy::prelude::*; | ||
use bevy::winit::cursor::CustomCursor; | ||
|
||
pub fn setup_cursor(mut commands: Commands, asset_server: Res<AssetServer>) { | ||
commands.insert_resource(CustomCursor::Image { | ||
handle: asset_server.load("cursor.png"), | ||
hotspot: (128, 128), | ||
}.into()); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters