Skip to content

.pdb rename error for rust godot crate in version 4.3 #102206

Open
@Per6

Description

@Per6

Tested versions

this bug appeared when upgradig from 4.2.2 to 4.3

System information

Windows 10 Godot 4.3.stable rust 1.84.0 rust_crate:"godot" 0.2.2

Issue description

The original PDB path size in bytes is too small: 'rust_ext.pdb'. Expected size: 13 or more bytes, but available 12. platform/windows/os_windows.cpp:410 - Failed to rename the PDB file. The original PDB file for 'C:\Users\BlueSheep3\Desktop\Coding\Godot Games\paradox-puzzles\rust\target\debug/~rust_ext.dll' will be loaded.
This error appears each time when compiling

Steps to reproduce

this only happens on my brothers pc and does not on mine, so no clue how to reproduce, i downloaded the exact project using github.

when making the pathname to 13 or more it sais this instead of the error: platform/windows/windows_utils.cpp:182 - The original path size of 'rust_ext_hi.pdb' in bytes was too small to fit the new name, so it was shortened to '~rust_e_999.pdb'.

or for 13 characters: platform/windows/windows_utils.cpp:182 - The original path size of 'rust_ext2.pdb' in bytes was too small to fit the new name, so it was shortened to '~rust_999.pdb'.

This happens for my brother and doesnt happen for me on version 4.3 using rust_ext on windows. we have the same laptop model

Minimal reproduction project (MRP)

no reproducability possible but might be related to: 87117

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