Comments (9)
This is caused by the newest version of llvm, and is addressed by rust-lang/rust-bindgen#2667. We need a newer version of bindgen to be released, but you can add a cargo override in cargo.toml:
[patch.crates-io]
bindgen = { git = 'https://github.com/sagudev/rust-bindgen.git', branch="f16" }
from servo.
@treeshateorcs It should be listed here already: https://github.com/servo/servo/wiki/Building#arch
I think there's an issue where for Arch Linux, people running ./mach boostrap
are not directed to that page though.
from servo.
unfortunately it fails with the same problem
error: failed to run custom build command for `mozjs_sys v0.68.2 (https://github.com/s
ervo/mozjs#01d777e1)`
from servo.
What's the rest of the output?
from servo.
And what is the output of git diff
?
from servo.
git diff
diff --git a/Cargo.lock b/Cargo.lock
index 7ae608edba..909be08b43 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -393,8 +393,7 @@ dependencies = [
[[package]]
name = "bindgen"
version = "0.68.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "726e4313eb6ec35d2730258ad4e15b547ee75d6afaa1361a922e78e59b7d8078"
+source = "git+https://github.com/sagudev/rust-bindgen.git?branch=f16#ee0c03f00241c8955fdba06876db3e6f7253ddda"
dependencies = [
"bitflags 2.4.1",
"cexpr",
diff --git a/Cargo.toml b/Cargo.toml
index 6498c17233..2b4b365e7a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -122,6 +122,7 @@ inherits = "release"
debug-assertions = false
[patch.crates-io]
+bindgen = { git = 'https://github.com/sagudev/rust-bindgen.git', branch = "f16" }
# If you need to temporarily test Servo with a local fork of some upstream
# crate, add that here. Use the form:
#
the rest of the output https://0x0.st/HgLQ.txt
from servo.
Pertinent error:
ERROR: Cannot find llvm-objdump
from servo.
apparently i had no llvm package on my system at all for some reason. i just installed it and it looks like it builds properly! thank you @mrobinson
from servo.
should llvm
be added here? https://github.com/servo/servo/blob/1f0f50b22bb43e965febf31f5a436113f2958725/README.md?plain=1#L37C8-L37C8 (and probably in other distros?)
from servo.
Related Issues (20)
- HTML event-loop: move full-screen steps to "update the rendering"
- Canvas: run the context lost steps
- Implement the Navigation API
- Update the rendering: run the focusing steps for for unfocusable HOT 2
- Update the rendering: consolidate reflows HOT 2
- Implement baseline-source HOT 21
- Android build can fail when downloading Gradle on GitHub Actions
- ServoMedia::get can hang forever when setting document activity HOT 4
- `--timeout-multiplier` does not affect test harness timeout HOT 3
- Compile warnings in components/script/dom/ HOT 1
- Intermittent TIMEOUT in `/html/canvas/element/manual/imagebitmap/createImageBitmap-origin.sub.html`
- Stylo's Device should have access to font metrics HOT 5
- Spaces sometimes obey the `white-space` of the block container, not the inline element
- Fix Iframe loading HOT 2
- Fix window.open loading
- I cannot build Servo on Debian 12 on AMD Ryzen 3 5425U HOT 2
- Update the rendering: integrate "update animations and send events" HOT 1
- Poster frames shared by two videos can dissapear after one starts playing
- Fix microtask checkpoint
- Update the rendering: fix ordering of documents
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from servo.