Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add build.rs to a package #339

Open
0x143 opened this issue Feb 7, 2024 · 2 comments
Open

How to add build.rs to a package #339

0x143 opened this issue Feb 7, 2024 · 2 comments

Comments

@0x143
Copy link

0x143 commented Feb 7, 2024

Hi. I noticed that I have to add build file explicitly to my Cargo.toml file:

[package]
#  ...
build = "build.rs"
# ...

for it to be detected and executed.

It made me wonder if there is any reason to avoid it in the first place.

@Neutron3529
Copy link

It seems build.rs is the default script. It should be executed even without your configure.

Maybe you put build.rs in a wrong place.

@CGMossa
Copy link
Member

CGMossa commented Jun 6, 2024

Sorry for not replying to this, but there is nothing that extendr or {rextendr} does, that affect the build.rs configuration.

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

No branches or pull requests

3 participants