Skip to content

Conversation

@Snowiiii
Copy link
Contributor

@Snowiiii Snowiiii commented Jul 8, 2025

No description provided.

@nabijaczleweli nabijaczleweli changed the title Update toml to 0.9 Update toml to 0.9, cc to 1.2 Jul 8, 2025
@nabijaczleweli
Copy link
Owner

Don't think so. Before:

>cargo run -- empty-resource.rc
warning: `D:\Users\nabijaczleweli\.cargo\config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
warning: p:\Rust\rust-embed-resource\.github\workflows\msvc\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
warning: p:\Rust\rust-embed-resource\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
   Compiling embed-resource v3.0.4 (P:\Rust\rust-embed-resource)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.18s
     Running `target\debug\embed-resource.exe empty-resource.rc`
Final verdict: crate has binaries: true
cargo:rustc-link-arg-bins=.\libempty-resource.a
cargo:rustc-link-arg-bin=embed_resource=.\libempty-resource.a
cargo:rustc-link-arg-bin=embed_resource-installer=.\libempty-resource.a

after:

>cargo run -- empty-resource.rc
warning: `D:\Users\nabijaczleweli\.cargo\config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
warning: p:\Rust\rust-embed-resource\.github\workflows\msvc\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
warning: p:\Rust\rust-embed-resource\Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s
     Running `target\debug\embed-resource.exe empty-resource.rc`
Couldn't parse Cargo.toml: TOML parse error at line 1, column 10
  |
1 | [package]
  |          ^
unexpected content, expected nothing
; assuming src/main.rs or S_ISDIR(src/bin/)
Final verdict: crate has binaries: true
cargo:rustc-link-arg-bins=.\libempty-resource.a
cargo:rustc-link-arg-bin=embed_resource=.\libempty-resource.a
cargo:rustc-link-arg-bin=embed_resource-installer=.\libempty-resource.a

@nabijaczleweli
Copy link
Owner

lmao toml 0.9 is actively adversarial here. very cool

@nabijaczleweli
Copy link
Owner

Superseded by 6815ebf

@nabijaczleweli
Copy link
Owner

Released in v3.0.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants