Skip to content

[Feature Request]: 用pnpm create farm-plugin my-farm-plugin --type rust创建插件使用了swc_core导致rust-toolchain.toml的固定版本和swc_core的版本冲突 #2171

@Roxannej

Description

@Roxannej

What problem does this feature solve?

如题, rust-toolchain.toml中的是channel = "nightly-2024-04-16", swc_core的版本"26.3.4", 因为swc_core需要高于1.79以上的rust的版本, 现在和channel = "nightly-2024-04-16"是冲突的,导致cargo build时报错
这只是一个建议,因为并不是所有人都会在写插件的时候用到swc_core

我是希望能兼容下rust的高版本

What does the proposed API look like?

rust-toolchain.toml能兼容下高版本, 而不是固定的nightly-2024-04-16

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions