1"use strict";(self.webpackChunkmodular_fe=self.webpackChunkmodular_fe||[]).push([["14540"],{11813(e,t,o){o.r(t),o.d(t,{metadata:()=>n,default:()=>d,frontMatter:()=>c,contentTitle:()=>s,toc:()=>a,assets:()=>u});var n=JSON.parse('{"id":"compiler/README","title":"Mojo compiler contributor guide","description":"[!NOTE]","source":"@site/community/contributing/compiler/README.md","sourceDirName":"compiler","slug":"/compiler/","permalink":"/community/contributing/compiler/","draft":false,"unlisted":false,"editUrl":"https://github.com/modular/modular/edit/main/Mojo/docs/contributing/compiler/README.md","tags":[],"version":"current","frontMatter":{},"sidebar":"contributingSidebar","previous":{"title":"Adding a new GPU target","permalink":"/community/contributing/stdlib/adding-gpu-targets"}}'),r=o(74848),i=o(28453);let c={},s="Mojo compiler contributor guide",u={},a=[];function l(e){let t={a:"a",admonition:"admonition",code:"code",h1:"h1",header:"header",p:"p",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"mojo-compiler-contributor-guide",children:"Mojo compiler contributor guide"})}),"\n",(0,r.jsx)(t.admonition,{type:"note",children:(0,r.jsxs)(t.p,{children:["As of September, 2026, we're not accepting contributions to the Mojo compiler,\nbut for the latest status, see ",(0,r.jsx)(t.a,{href:"/community/contributing/contribution-areas",children:"contribution areas"}),"."]})}),"\n",(0,r.jsxs)(t.p,{children:["There's no compiler-specific style guide yet. Please match the conventions of\nthe code you're changing, and run ",(0,r.jsx)(t.code,{children:"./bazelw run //:format"})," before you open a\nPR. Otherwise, follow the rest of the ",(0,r.jsx)(t.a,{href:"/community/contributing/",children:"Mojo contributor guide"}),"."]}),"\n",(0,r.jsxs)(t.p,{children:["To learn more about the Mojo compiler, see the compiler documentation in GitHub\nat\n",(0,r.jsx)(t.a,{href:"https://github.com/modular/modular/tree/main/Mojo/docs/compiler",children:(0,r.jsx)(t.code,{children:"Mojo/docs/compiler"})}),"."]})]})}function d(e={}){let{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},28453(e,t,o){o.d(t,{R:()=>c,x:()=>s});var n=o(96540);let r={},i=n.createContext(r);function c(e){let t=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),n.createElement(i.Provider,{value:t},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.