You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am making a windows bundler and I would like to include the pdb file, but this file is not available until after the build.
The copy_resources function happens early before this file is available and will early exit from the build process.
There are a couple PR's that will help with this as pointed out on discord:
This one probably would help too but less automatic than 2 ig #9734
And this would break 2 #9710
Describe the solution you'd like
I would like to allow post build resources in the resources bundle configuration, ie files that don't exist yet.
Alternatives considered
I could write my own nsis template, which I may end up doing, but this is overkill for such a simple matter it seems.
Additional context
I use the following in my .cargo/config.toml file to have rustc make a local pdb file.
[target.x86_64-pc-windows-msvc]
# By default, the executable embeds absolute path to PDB.
# But that would mean a path on a build machine.
# Instead, we supply a relative path (just the name of the PDB file,
# because we assume it's in the current directory).
rustflags = ["-C", "link-args=/PDBALTPATH:%_PDB%"]
The text was updated successfully, but these errors were encountered:
I would consider this closed tbh since users can just use the new hooks to include their needed files. If more people requesting adding the pdb files, we will reconsider.
Describe the problem
I am making a windows bundler and I would like to include the pdb file, but this file is not available until after the build.
The
copy_resources
function happens early before this file is available and will early exit from the build process.There are a couple PR's that will help with this as pointed out on discord:
Describe the solution you'd like
I would like to allow post build resources in the resources bundle configuration, ie files that don't exist yet.
Alternatives considered
I could write my own nsis template, which I may end up doing, but this is overkill for such a simple matter it seems.
Additional context
I use the following in my
.cargo/config.toml
file to have rustc make a local pdb file.The text was updated successfully, but these errors were encountered: