-
Notifications
You must be signed in to change notification settings - Fork 216
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
Fix for link error - undefined CFMutableAttributedStringGetTypeID #357
Merged
bors-servo
merged 1 commit into
servo:master
from
vbadanov:hotfix/fix-mutable-attributed-string-get-type-id
Feb 21, 2020
Merged
Fix for link error - undefined CFMutableAttributedStringGetTypeID #357
bors-servo
merged 1 commit into
servo:master
from
vbadanov:hotfix/fix-mutable-attributed-string-get-type-id
Feb 21, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ableAttributedStringGetTypeID"
@bors-servo r+ |
📌 Commit aa6d1cd has been approved by |
☀️ Test successful - checks-travis |
This was referenced Apr 27, 2020
bors-servo
added a commit
to servo/rust-harfbuzz
that referenced
this pull request
Apr 27, 2020
Upgrade core libs This allows coverage using lcov and grcov. Related to this issue servo/core-foundation-rs#357
This was referenced May 2, 2020
3 tasks
nearprotocol-bulldozer bot
pushed a commit
to near/nearcore
that referenced
this pull request
Jun 10, 2020
test: Fuzz testing RPC #2422 Fuzzer to test RPC connections, by sending: - [x] Invalid methods - [ ] Correct method with invalid formatted data - [x] Correct method with validly formatted random data How to run fuzzing ------------------- ```bach $ cd chain/jsonrpc $ cargo install cargo-fuzz # (if not installed) $ cargo fuzz run fuzz_target_1 ``` **Note** there is some bug in Rust, already fixed but still not included in nightly release, somehow related to MacOS Catalina, so fuzzing is possible only in Linux (definitely) and probably on Windows (haven't check). References: rust-lang/rust#63047 (comment) servo/core-foundation-rs#357 Test plan --------- 1. test query methods with valid random data and ensure RPC response status is 200 and response contains `error` key instead of `result`. 2. test for valid methods with invalid format of data. Should return 200 and `error` in response. 3. test for invalid methods
bors-servo
added a commit
that referenced
this pull request
Jun 28, 2020
Bump core-foundation(-sys) to 0.7.1 for release. Hi! I'm hoping to be able to pull #357 from crates.io and based on other issue threads here it seems that a PR with version bumps is the way to request a release. I haven't used my local mac recently so I'm relying on CI for now, although if needed I can spin that up and test it locally. LMK? I'm not actually sure whether the changes to core-foundation since 2019/11 qualify for a patch version bump or a minor one. Thoughts?
anp
added a commit
to anp/moxie
that referenced
this pull request
Jun 28, 2020
anp
added a commit
to anp/moxie
that referenced
this pull request
Jun 30, 2020
anp
added a commit
to anp/moxie
that referenced
this pull request
Jul 1, 2020
anp
added a commit
to anp/moxie
that referenced
this pull request
Jul 1, 2020
catap
added a commit
to catap/rust-legacy-bootstrap
that referenced
this pull request
Feb 6, 2022
This workaround linker error on attempting to find symbol CFMutableAttributedStringGetTypeID on macOS. See details at servo/core-foundation-rs#357
catap
added a commit
to catap/rust-legacy-bootstrap
that referenced
this pull request
Feb 6, 2022
This workaround linker error on attempting to find symbol CFMutableAttributedStringGetTypeID on macOS. See details at servo/core-foundation-rs#357
catap
added a commit
to catap/rust-legacy-bootstrap
that referenced
this pull request
Feb 6, 2022
This workaround linker error on attempting to find symbol CFMutableAttributedStringGetTypeID on macOS. See details at servo/core-foundation-rs#357
catap
added a commit
to catap/rust-legacy-bootstrap
that referenced
this pull request
Feb 6, 2022
This workaround linker error on attempting to find symbol CFMutableAttributedStringGetTypeID on macOS. See details at servo/core-foundation-rs#357
catap
added a commit
to catap/rust-legacy-bootstrap
that referenced
this pull request
Feb 6, 2022
This workaround linker error on attempting to find symbol CFMutableAttributedStringGetTypeID on macOS. See details at servo/core-foundation-rs#357
This was referenced Nov 10, 2023
This was referenced Nov 17, 2023
This was referenced Nov 25, 2023
This was referenced Dec 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Intention
Fix for rust-lang/rust#63047 and intellij-rust/intellij-rust#4605
How to reproduce
The following program fails to compile:
Root cause
Core Foundation framework does not have
CFMutableAttributedStringGetTypeID()
function.CFMutableAttributedStringGetTypeID()
listed.CFAttributedStringGetTypeID()
available (without word "Mutable").CFMutableAttributedStringGetTypeID()
function in C/C++ headers on MacOS, butCFAttributedStringGetTypeID()
is available. C/C++ test program (similar to Rust above) does not compile as well.So,
CFAttributedStringGetTypeID()
must be used instead ofCFMutableAttributedStringGetTypeID()
Solution
core-foundation-sys
: Removeextern CFMutableAttributedStringGetTypeID()
core-foundation
:CFMutableAttributedStringGetTypeID
withCFAttributedStringGetTypeID