emilk / emilk/egui

Remove `as_any` once our msrv reaches 1.86

Open
#5,876 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
30.6k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
72

Description

**Describe the bug**

We have as any method for wasm32. Make this method deprecated, because new rust update introduces trait upcasting.

![Screenshot_20250403-221704_Iceraven.png](https://github.com/user-attachments/assets/5a935eef-1fa1-44d9-aa64-0b4c68fd529f)

**To Reproduce**
Steps to reproduce the behavior:
1.
2.
3.
4.

**Expected behavior**

Removed as any or with deprecated

**Additional context**

We need support latest rust

Contributor guide

Open the contributing guide

Research direction

Start by locating the wasm32 `as_any` method and checking its call sites and the repository's MSRV configuration. Confirm the minimum supported Rust version has reached 1.86, then determine whether the intended completion is deprecation or removal and verify the affected Rust tests and wasm build still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
api, web-dev
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.