Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS Z:\Rust Programming\obf_test\src> rustc .\main.rs
- error: internal compiler error: librustc_codegen_llvm\mir\operand.rs:141: not immediate: OperandRef(Pair(([0 x i8]*:[0 x i8]* bitcast (<{ [9 x i8] }>* @byte_str.0 to [0 x i8]*)), (i64:i64 9)) @ TyLayout { ty: &str, details: LayoutDetails { variants: Single { index: 0 }, fields: Arbitrary { offsets: [Size { raw: 0 }, Size { raw: 8 }], memory_index: [0, 1] }, abi: ScalarPair(Scalar { value: Pointer, valid_range: 1..=18446744073709551615 }, Scalar { value: Int(I64, false), valid_range: 0..=18446744073709551615 }), align: Align { abi_pow2: 3, pref_pow2: 3 }, size: Size { raw: 16 } } })
- thread 'main' panicked at 'Box<Any>', librustc_errors\lib.rs:578:9
- stack backtrace:
- 0: <std::sync::mpsc::RecvTimeoutError as core::fmt::Debug>::fmt
- 1: std::error::<impl core::convert::From<alloc::borrow::Cow<'b, str>> for alloc::boxed::Box<(dyn std::error::Error + core::marker::Sync + core::marker::Send + 'a)>>::from
- 2: std::panicking::take_hook
- 3: std::panicking::take_hook
- 4: <rustc::ty::sty::Binder<rustc::ty::ProjectionPredicate<'tcx>> as rustc::ty::ToPredicate<'tcx>>::to_predicate
- 5: std::panicking::rust_panic_with_hook
- 6: <rustc_errors::diagnostic::SubDiagnostic as core::fmt::Debug>::fmt
- 7: rustc_errors::Handler::bug
- 8: <rustc::mir::traversal::ReversePostorder<'a, 'tcx> as core::iter::iterator::Iterator>::size_hint
- 9: rustc::ty::context::tls::track_diagnostic
- 10: rustc::ty::context::tls::track_diagnostic
- 11: rustc::ty::context::tls::track_diagnostic
- 12: rustc::session::bug_fmt
- 13: rustc::session::bug_fmt
- 14: <rustc_codegen_llvm::llvm::archive_ro::Iter<'a> as core::ops::drop::Drop>::drop
- 15: rustc_codegen_llvm::asm::codegen_global_asm
- 16: rustc_codegen_llvm::base::codegen_instance
- 17: <rustc_codegen_llvm::base::ValueIter<'ll> as core::iter::iterator::Iterator>::next
- 18: <rustc::traits::object_safety::MethodViolationCode as core::fmt::Debug>::fmt
- 19: <rustc::traits::object_safety::MethodViolationCode as core::fmt::Debug>::fmt
- 20: rustc::dep_graph::graph::DepGraph::assert_ignored
- 21: rustc::ty::context::tls::track_diagnostic
- 22: rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::try_print_query_stack
- 23: rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::try_print_query_stack
- 24: rustc::ty::query::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::compile_codegen_unit
- 25: <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::codegen_crate
- 26: rustc_driver::target_features::add_configuration
- 27: rustc_driver::driver::phase_4_codegen
- 28: rustc_driver::profile::dump
- 29: <rustc_driver::pretty::IdentifiedAnnotation<'hir> as rustc_driver::pretty::HirPrinterSupport<'hir>>::sess
- 30: rustc_driver::target_features::add_configuration
- 31: <rustc_driver::CompilationFailure as core::fmt::Debug>::fmt
- 32: rustc_driver::driver::compile_input
- 33: rustc_driver::run_compiler
- 34: <rustc_driver::profile::trace::Query as core::fmt::Debug>::fmt
- 35: <env_logger::filter::inner::Filter as core::fmt::Display>::fmt
- 36: <rustc_driver::derive_registrar::Finder as rustc::hir::itemlikevisit::ItemLikeVisitor<'v>>::visit_item
- 37: _rust_maybe_catch_panic
- 38: rustc_driver::profile::dump
- 39: rustc_driver::main
- 40: <unknown>
- 41: std::panicking::update_panic_count
- 42: _rust_maybe_catch_panic
- 43: std::rt::lang_start_internal
- 44: <unknown>
- 45: <unknown>
- 46: BaseThreadInitThunk
- 47: RtlUserThreadStart
- query stack during panic:
- #0 [compile_codegen_unit] compile_codegen_unit
- end of query stack
- error: aborting due to previous error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement