Closed
Bug 1680171
Opened 4 years ago
Closed 4 years ago
error: attribute should be applied to a function or static
Categories
(Firefox :: Installer, defect)
Firefox
Installer
Tracking
()
RESOLVED
FIXED
85 Branch
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Building with rust 1.48 with warnings as errors (i.e. automation) fails with:
error: attribute should be applied to a function or static
--> toolkit/mozapps/defaultagent/rust/src/lib.rs:111:5
|
111 | #[no_mangle]
| ^^^^^^^^^^^^
112 | static gWinEventLogSourceName: *const u16;
| ------------------------------------------ not a function or static
|
= note: `-D unused-attributes` implied by `-D warnings`
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
error: aborting due to previous error
Assignee | ||
Comment 1•4 years ago
|
||
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/52c68bee8952
Remove unnecessary no_mangle attribute. r=nalexander
Comment 3•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox85:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•