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

[SR-15081] Unnecessary warnings from pulling in C files #4393

Open
swift-ci opened this issue Aug 17, 2021 · 1 comment
Open

[SR-15081] Unnecessary warnings from pulling in C files #4393

swift-ci opened this issue Aug 17, 2021 · 1 comment
Assignees
Labels

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-15081
Radar rdar://problem/82139708
Original Reporter kneekey23 (JIRA User)
Type Bug
Environment

https://github.com/justinboswell/swift-crt-sandbox

Code to reproduce is in the repo above in main

Additional Detail from JIRA
Votes 1
Component/s Package Manager
Labels Bug
Assignee @abertelrud
Priority Medium

md5: f54868f68e98c2099a5e86537de0994a

Issue Description:

We cannot create a C target in our SPM `Package.swift` without specifying a `path`. But once we specify that path, SPM recursively finds every file in that path and throws up a warning about unhandled files despite the fact that we told SPM to only care about a specific file via `sources`.

@tomerd
Copy link
Member

tomerd commented Aug 19, 2021

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants